on a localhost….
I recently updated to GP Elements. I noticed in Snippets, I have a bid of code
define( ‘GENERATE_HOOKS_DISALLOW_PHP’, true );
under the title of “disallowing php in gp hooks”
i’ve read this related article https://docs.generatepress.com/article/disallow-php-execution/
my questions are:
1) how does this code in snippets relate to the move to gp elements? does it stay or go?
2) I check the wp-config.php file and since I use themes security define( ‘DISALLOW_FILE_EDIT’, true ) is present.
3) with 1 & 2 above, do I create a new hook in elements? and if so, how do I do that, etc… or leave it as is? ect.
thanks.