[Resolved] Disallow PHP Editing

Home Forums Support Disallow PHP Editing

  • This topic has 1 reply, 2 voices, and was last updated 6 months ago by Leo.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1436924


    In my WP Dashboard, I am getting this message:

    DISALLOW_FILE_EDIT is defined. You should also disallow PHP execution in GP Hooks.

    And the GP documentation instructs me to do this…

    To add this to my wp-config.php:

    define( ‘GENERATE_HOOKS_DISALLOW_PHP’, true );


    This constant should be added into your wp-config.php file, below the DISALLOW_FILE_EDIT constant.

    When I download a copy of my wp-config.php for that database, the constant is in my
    security plugin block.

    Should I go ahead and enter it within that block?

    NOTE: Site currently offline as I am moving to a new host.

    Thank you!

    Customer Support

    Hi there,

    I’m not 100% sure how the security plugin handles this but worth a shot to see if that works.

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