I am familiar with wp_enqueue_script() used by many Plugins.
What I would like, is a way to see all what scripts have been enqueued. Like a get_enqueued_scripts().
Anyone know a way to find what scripts all have been enqueued?
thanks!
I am familiar with wp_enqueue_script() used by many Plugins.
What I would like, is a way to see all what scripts have been enqueued. Like a get_enqueued_scripts().
Anyone know a way to find what scripts all have been enqueued?
thanks!
It is possible to display all enqueued scripts/styles?
I need this to find out which scripts/styles have been added by the plugins or the theme.
global $wp_scripts;
var_dump( $wp_scripts );Sorry but I tried this before and it returns NULL or nothing at all...where should I put it?
Try header.php after wp_head();
I already tried that. It returns NULL :(
Even with the global declaration? I just tried it and it printed out a whole lot of information. When I removed global $wp_scripts; it printed NULL.
Sorry, my mistake. I switched off all the plugins so actually there was nothing to show :)
Thank you guys. It is working now.
This topic has been closed to new replies.