Last active
May 18, 2018 12:01
-
-
Save everaldomatias/698e8419b6fa839b3ad8262ced99fcde to your computer and use it in GitHub Desktop.
Debug para listar filtros no 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 | |
/** | |
* Mude 'wp_head' para o hook que deseja debugar | |
*/ | |
global $wp_filter; | |
echo '<pre>'; | |
var_dump( $wp_filter['wp_head'] ); | |
echo '</pre>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment