• Im currently writing a Massmailer Plugin for WordPress and im wanting to use some of the JavaScript already in place in the backend (the dbx_js script)

    I need to pass $dbx_js = true; to the admin head some how :/ but im not having any luck at all.

    Ive try’d the following

    function pky_init(){
    $dbx_js = true;
    return $dbx_js ;
    }
    add_action('init',pky_init);

    But it does not seem to work :/ can anyone help me?

  • The topic ‘How to get set $dbx_js when making admin menus’ is closed to new replies.