Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function print_all_enqueued_scripts() {
- global $wp_scripts;
- foreach( $wp_scripts->queue as $handle ) :
- echo '<!-- EnqueuedScript: ' . $handle . ' -->';
- endforeach;
- }
- add_action( 'wp_print_scripts', 'print_all_enqueued_scripts' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement