Site logo

Archived topic

GP Hooks not functioning as expected

3 replies · Started by Greg on December 10, 2018

Viewing posts 1–4 of 4

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.

Thanks for the help! :D

Hi there,

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.

Gotcha. Thanks for the quick reply David.

You're welcome.

This archived topic is closed to new replies.