WordPress.org

Ready to get started?Download WordPress

Forums

Genesis Simple Hooks
Disable PHP (2 posts)

  1. wasanajones
    Member
    Posted 1 year 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?

    thanks

    http://wordpress.org/extend/plugins/genesis-simple-hooks/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year 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

About this Topic

Tags

No tags yet.