Disallows Plugin / Theme Editor

Hi there,

Basically, “Disallows Plugin / Theme Editor” will define WordPress constant DISALLOW_FILE_EDIT as true, which prevents using Plugin/Theme editor.

Without enabling “Disallows Plugin / Theme Editor” you can place this code in your wp-config.php to try it out.

define( 'DISALLOW_FILE_EDIT', true);

This issue is related to Yoast SEO, you may refer to it here https://github.com/Yoast/wordpress-seo/issues/15919.


Thread Starter


Thanks for the reply and information @nawawijamili


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer