do_shortcode in admin panel
-
Hi, great works!!
I’m trying to render some chart in my personal admin plugin in multisite installation.
In my plugin page:
/wp-admin/admin.php?page=myplugin/monitor.php
this is the code:
$plugin = Visualizer_Plugin::instance(); // set general modules $plugin->setModule( Visualizer_Module_Setup::NAME ); $plugin->setModule( Visualizer_Module_Sources::NAME ); $plugin->setModule( Visualizer_Module_Frontend::NAME );and if I debug the function Frontend::renderChart it works well, but the problem is with javascript that is not included (it seems wp_register_script and wp_enqueue_script doesn’t works)
I checked wp_footer and it’s ok.
suggest?
thanks
Marco
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘do_shortcode in admin panel’ is closed to new replies.