Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created July 10, 2016 17:52
Show Gist options
  • Save hellofromtonya/dfcf4523e0d2f3c2c783d11a6193b161 to your computer and use it in GitHub Desktop.
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
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