Beispiel #1
0
 function add_admin_scripts()
 {
     ITCoreClass::add_admin_scripts();
     wp_enqueue_script('postbox');
     if (is_callable(array($this->_tab_object, 'add_admin_scripts'))) {
         return $this->_tab_object->add_admin_scripts();
     }
 }
Beispiel #2
0
 function add_admin_scripts()
 {
     ITCoreClass::add_admin_scripts();
     wp_enqueue_script("{$this->_var}-theme-options", "{$this->_plugin_url}/js/layout-editor.js");
     wp_enqueue_script('scriptaculous-effects');
     do_action('builder_module_enqueue_admin_scripts', "{$this->_plugin_url}/modules");
 }
Beispiel #3
0
 function add_admin_scripts()
 {
     ITCoreClass::add_admin_scripts();
     wp_enqueue_script("{$this->_var}-seo", "{$this->_plugin_url}/js/seo-editor.js", array('jquery', 'postbox'));
 }