Created
August 14, 2014 15:31
-
-
Save johnheimkes/b633475e47b232a5bb78 to your computer and use it in GitHub Desktop.
Show all hooks
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 | |
function ag_show_me_hooks() { | |
global $wp_current_filter; | |
var_dump( $wp_current_filter ); | |
} | |
add_action( 'all', 'ag_show_me_hooks' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment