<?php

function dragblock_admin_common_inline_init_script($extra = array())
{
    // Define the data to pass to your script
    return array_merge(array(
        'blankDemoImgUrl' => DRAGBLOCK_URL . 'assets/images/demo/blank.png',
        'siteLocale' => get_locale(),
        'homeUrl' => get_home_url(),
        'ajaxUrl' => admin_url('admin-ajax.php'),
        'nonce'   => wp_create_nonce(DRAGBLOCK_NONCE_SLUG),
    ), $extra);
}
