gfazioli
6/20/2013 - 9:45 AM

Print action or filters in WordPress

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
  }