You appear to be a bot. Output may be restricted
Description
Trace all genesis hooksSo we can attempt to see what hook causes Genesis to do something. Use View source and look for all the genesis hook names inside HTML comments Notes:
- it's not safe to produce HTML comments before the doctype tag has been created
- we're really only interested in hooks prefixed 'genesis_'
- but there are some others that are of great interest too
Usage
genesistant_all( $tag, $args2 );
Parameters
- $tag
- ( string ) required – the action hook or filter
- $args2
- ( mixed ) optional –
Returns
voidSource
File name: genesistant/genesistant.phpLines:
1 to 23 of 23
function genesistant_all( $tag, $args2=null ) { static $ok_to_e_c = false; if ( $ok_to_e_c ) { if ( 0 === strpos( $tag, "genesis_" ) ) { $hooked = genesistant_get_hooks( $tag ); genesistant_safe_e_c( $tag, $hooked ); } elseif ( 0 === strpos( $tag, "the_excerpt" ) ) { $hooked = genesistant_get_hooks( $tag ); genesistant_safe_e_c( $tag, $hooked ); } elseif ( 0 === strpos( $tag, "the_content" ) ) { $hooked = genesistant_get_hooks( $tag ); genesistant_safe_e_c( $tag, $hooked ); } elseif ( 0 === strpos( $tag, "the_permalink" ) ) { $hooked = genesistant_get_hooks( $tag ); genesistant_safe_e_c( $tag, $hooked ); } } else { if ( "genesis_doctype" === $tag ) { $ok_to_e_c = true; } } }View on GitHub