Created
December 10, 2012 03:03
-
-
Save DavidWells/4248143 to your computer and use it in GitHub Desktop.
WordPress :: View Queued Styles
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 | |
add_action('wp_head', 'debug_styles_queued'); | |
function debug_styles_queued() { | |
global $wp_styles; | |
echo '<!--- Styles QUEUED'."\r\n"; | |
foreach ( $wp_styles->queue as $styles ) { | |
echo "\r\nStyle: ".$styles."\r\n"; | |
} | |
echo "\r\n--->"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment