Print action or filters in WordPress
<?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 }