Created
February 21, 2018 00:16
-
-
Save ngearing/dea225149397b2371bf3a177a919264d to your computer and use it in GitHub Desktop.
List the current queue of styles and scripts for WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
global $wp_styles; | |
global $wp_scripts; | |
echo '<pre>' . print_r( $wp_styles->queue, true ) . '</pre>'; | |
echo '<pre>' . print_r( $wp_scripts->queue, true ) . '</pre>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment