Skip to content

Instantly share code, notes, and snippets.

@DavidWells
Created December 10, 2012 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidWells/4248143 to your computer and use it in GitHub Desktop.
Save DavidWells/4248143 to your computer and use it in GitHub Desktop.
WordPress :: View Queued Styles
<?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