New Genesis user, have a quick question. I am attempting to set a cooking using PHP code, but I can’t seem to figure out which Genesis Hook will allow to run this code before any html is output.
Any advice would be greatly appreciated!
Even though you are using Genesis, you aren’t limited to Genesis hooks. WP has hooks too.
Try init, as in:
add_action( ‘init’, ‘somefunction’ );
This will give you a sense of the core loading order in WP, which will point you in the right direction.
Yeah. Holy “miss the forest for the trees.”
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.