Created
August 15, 2014 03:48
-
-
Save scarstens/1514162c033ed925f117 to your computer and use it in GitHub Desktop.
WordPress php code to print a list of hook-action-styles from the enqueue method.
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_print_styles','check_styles', 1); | |
function check_styles(){ | |
$hook_name = 'wp_enqueue_scripts'; | |
global $wp_filter; | |
var_dump( $wp_filter[$hook_name] );exit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment