Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. function print_all_enqueued_scripts() {
  2. global $wp_scripts;
  3. foreach( $wp_scripts->queue as $handle ) :
  4. echo '<!-- EnqueuedScript: ' . $handle . ' -->';
  5. endforeach;
  6. }
  7. add_action( 'wp_print_scripts', 'print_all_enqueued_scripts' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement