[wp-hackers] wp_dashboard_setup execution time (after plugins)
SteeleR
steelerbg at gmail.com
Fri Jul 16 10:15:36 UTC 2010
Hi.. i'm trying to add a new widget to the dashboard and the new widget is
actually getting its content from an already installed plugin. The problem
is that the wp_dashboard_setup is firing before the plugins are loaded so
the plugin function are non-existing..
How to activate it after the plugins are loaded.
The code I have is:
function my_wp_dashboard_setup()
{
custom_plugin_function();
}
> add_action('wp_dashboard_setup', 'my_wp_dashboard_setup');
Thanks
More information about the wp-hackers
mailing list