[Resolved] No PHP Execution checkbox in hooks

Home Forums Support [Resolved] No PHP Execution checkbox in hooks

Home Forums Support No PHP Execution checkbox in hooks

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #499697
    Cindy

    I’m not sure whether this has something to do with Wordfence, or if something happened when I moved my site, but in the Hooks module in GP Premium I no longer have an ‘Execute PHP’ checkbox, only a ‘Disable Hook’ checkbox. I tried disabling Wordfence and reinstalling GP Premium but no change.

    Can you check to make sure that it’s working on your end? I don’t know of a case where I wouldn’t use PHP there, so it seems like it should be automatic.

    Thanks!

    #499739
    Leo
    Staff
    Customer Support

    Hi there,

    Yup the checkbox should still be there.

    Did you add the function to disable PHP execution in hooks? https://docs.generatepress.com/article/disallow-php-execution/

    #499784
    Cindy

    Yep that’s exactly what it was, I’m thinking it might have been added by the security plugin I was using before. ๐Ÿ™‚ Thanks very much!

    #499904
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    #509587
    Vl

    Hi!
    If it is possible, I have another question.
    Does this function (https://docs.generatepress.com/article/disallow-php-execution/) only disable the warning? Does not it reduce the security of the site?
    Thanks.

    #509788
    Leo
    Staff
    Customer Support

    Which function are you talking about in there?

    This one only disable the message and the checkbox is still there: https://docs.generatepress.com/article/disallow-php-execution/#removing-the-admin-message

    #509825
    Vl

    I see. Thanks

    #509831
    Leo
    Staff
    Customer Support

    No problem!

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