How to Exclude Files in Sub-Folders from WP Plugin Editor List?

I am not sure you can do that, however, you can turn off/on the editor for plugins or themes using the following in wp-config.php define(‘DISALLOW_FILE_EDIT’, true ); This will hide the editor in the WordPress admin section. Remember, this setting is controlled by the site administrator, and it is up to him/her to show/hide the … Read more

How to disable a plugin for certain page?

functions.php file is loaded after the plugins_loaded hook is fired. So you are (probably) removing the hook, but it’s already fired, so it doesn’t really matter. If you want to remove a hook, you need to know when the hook was added. Then you need to remove the action at a later time, but before … Read more