Created
July 10, 2016 17:52
-
-
Save hellofromtonya/dfcf4523e0d2f3c2c783d11a6193b161 to your computer and use it in GitHub Desktop.
Looking at the event registry table for genesis_after_entry to see what is pre-registered
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
add_action( 'genesis_after_entry', 'explore_event_registry_table', 1 ); | |
/** | |
* Let's look at the event registry table for `genesis_after_entry` | |
* to discover what callbacks are pre-registered to it and in what order. | |
* | |
* @since 1.0.0 | |
* | |
* @return void | |
*/ | |
function explore_event_registry_table() { | |
global $wp_filter; | |
d( $wp_filter['genesis_after_entry'] ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment