Archived topic
GP Hooks message
2 replies · Started by Ahmadou Lo on February 11, 2019
Hi there I installed ithemes security via MainWP with all of my websites but one of my website is giving me this massage: DISALLOW_FILE_EDIT is defined. You should also disallow PHP execution in GP Hooks.
but MainWP fix it already cpanel.
hope to get some help thank you.
Hi there,
You can remove that message by disallowing PHP execution in GP Hooks: https://docs.generatepress.com/article/disallow-php-execution/
Another option is to move your hooks to our new Elements module: https://docs.generatepress.com/article/moving-hooks-page-headers-to-elements/
Let me know if you need more info :)
That code should be added using one of these methods: https://docs.generatepress.com/article/adding-php/
Be sure to reply in topic here :)
Thanks!