Hi,
I would like to action-hook my custom plugin.
The code needs only to be executed on a specific page.
Which “hook-point” should I use in enfold theme?
(e.g. wp-head)
Kind regards
Hey coretekk!
I’m not really clear on what you mean but if you are trying to create a function to load your plugin only on a specific page you can try a conditional tag hooked onto wp_head for a page id: https://codex.wordpress.org/Conditional_Tags#A_PAGE_Page
If you have additional questions on what would be needed they should be asked on the general WordPress support forums however since it isn’t really a theme specific issue.
Regards,
Devin
Hi Devin, ok thanks, I read that some Theme Devs provide their own hooks, and thought I’d ask before I go with the wp-head :)
Thanks also for the links this is what I was looking for!