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.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!