[Resolved] GP Hooks not functioning as expected

Home Forums Support [Resolved] GP Hooks not functioning as expected

Home Forums Support GP Hooks not functioning as expected

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #753304
    Greg

    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! 😀

    #753314
    David
    Staff
    Customer Support

    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.

    #753676
    Greg

    Gotcha. Thanks for the quick reply David.

    #753694
    David
    Staff
    Customer Support

    You’re welcome.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.