Skip to content

Instantly share code, notes, and snippets.

@studiograsshopper
Created October 9, 2011 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save studiograsshopper/1273784 to your computer and use it in GitHub Desktop.
Save studiograsshopper/1273784 to your computer and use it in GitHub Desktop.
WP Dump all filters
<?php
add_action( 'all', create_function( '', 'var_dump( current_filter() );' ) );
@studiograsshopper
Copy link
Author

Place in functions.php and dump all active filters for that page load. Warning - it can be a very long list!

@studiograsshopper
Copy link
Author

Got this off the wp-hackers list. Viperbond, perhaps, who posted it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment