Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // scripts
- global $wp_scripts;
- echo "<h2>Enqueued JS Scripts</h2><ul>";
- foreach( $wp_scripts->queue as $handle ) :
- echo "<li>" . $handle . "</li>";
- endforeach;
- echo "</ul>";
- // styles
- global $wp_styles;
- echo "<h2>Enqueued CSS Stylesheets</h2><ul>";
- foreach( $wp_styles->queue as $handle ) :
- echo "<li>" . $handle . "</li>";
- endforeach;
- echo "</ul>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement