Title: Disable PHP
Last modified: August 21, 2016

---

# Disable PHP

 *  [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [13 years ago](https://wordpress.org/support/topic/disable-php/)
 * 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?
 * thanks
 * [http://wordpress.org/extend/plugins/genesis-simple-hooks/](http://wordpress.org/extend/plugins/genesis-simple-hooks/)

Viewing 1 replies (of 1 total)

 *  [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [13 years ago](https://wordpress.org/support/topic/disable-php/#post-3765658)
 * 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.

Viewing 1 replies (of 1 total)

The topic ‘Disable PHP’ is closed to new replies.

 * ![](https://ps.w.org/genesis-simple-hooks/assets/icon-256x256.png?rev=1335659)
 * [Genesis Simple Hooks](https://wordpress.org/plugins/genesis-simple-hooks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-simple-hooks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-simple-hooks/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-simple-hooks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-simple-hooks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-simple-hooks/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/disable-php/#post-3765658)
 * Status: not resolved