Hey everyone. Is the GP hooks feature usable as a replacement for the plugin code snippets by Shea Bunge?
I’m working on a fairly large project and wanted to use the GP hooks on quite a few formidable forms action hooks. So far the snippets that are functioning in the code snippets plugin are not looking to be firing via the GP hooks.
I’m using Kint debugger and var_dump and Kint markers are not firing.
Hooks are for adding content to the template, they can execute PHP. But if the code you are using is adding actions or filters or is a specific function then you should continue to use Code Snippets or a child theme function file.