Created
June 20, 2013 09:45
-
-
Save gfazioli/5821543 to your computer and use it in GitHub Desktop.
Print action or filters in 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 | |
// Put on top in do_action() and apply_filters() | |
if( !isset( $GLOBALS['abcdefg'][$tag] ) ) { | |
$GLOBALS['abcdefg'][$tag] = true; | |
?><pre><?php printf( '-> %s', $tag ) ?></pre><?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment