Genesis Simple Hooks
Disable PHP (2 posts)

  1. wasanajones
    Posted 3 years ago #

    Hi - great stuff

    Is there a recommended way to disable the option for allowing PHP in Simple Hooks?

    I have a website hosting network and want to mitigate users being able to execute rogue PHP commands.

    I see it in functions.php but want to make sure I edit it correctly. is commenting out or deleting <label for="<?php echo SIMPLEHOOKS_SETTINGS_FIELD; ?>[<?php echo $args['hook']; ?>][php]"><?php _e( 'Execute PHP on this hook?', 'simplehooks' ); ?></label>

    going to cause problems?



  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    We recommend that you don't edit the plugin.

    The alternatives you have are use Simple Edits or add the code to the child theme functions file.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Genesis Simple Hooks
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.