Skip to content

Instantly share code, notes, and snippets.

@prajwal-stha
Created February 20, 2018 02:25
Show Gist options
  • Save prajwal-stha/13751df4e5d592c08456883295982f31 to your computer and use it in GitHub Desktop.
Save prajwal-stha/13751df4e5d592c08456883295982f31 to your computer and use it in GitHub Desktop.
If you add this line to your functions.php and then open a page on your WordPress powered site, you will see every action and filter that is called. Of course it will be inline in all of your template and content and that may not be the best solution.
add_action( 'all', create_function( '', 'var_dump( current_filter());' ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment