How to Disable the WordPress Editors for Themes and Plugins?

In this tutorial we will learn How to disable the WordPress editors for Themes and Plugins.

Step::1 Login to your cPanel

Step::2 Open the File Manager section under Files category

Step::3 Now go to public_html and then find your WordPress installation directory

Step::4 Look for wp-config.php file and right click over the file and choose the Edit option

Step::5 Add the following code under define (‘WP_DEBUG’, false’); line

define ( 'DISALLOW_FILE_EDIT', true);


Step::6 Once you’re done with the changes, click over Save Changes

Congratulations, you have successfully disabled the WordPress editor for Themes and Plugin.

Was this answer helpful?

Related Articles

How to display Related Pages in WordPress?

Step::1 Login to your WordPress admin dashboard Step::2 Go to Plugins and click on Add...

How To Fix ‘413 Request Entity Too Large’ WordPress Error using .htaccess?

This error occurs generally when a user tries to upload a large size file and media in the...

How To Force Logout All Users In WordPress At Once?

How To Force Logout All Users In WordPress At Once? Step::1 Let’s start by logging into the...

How to Add Google Analytics to your WordPress website?

In this article, we will share how you can easily install Google Analytics in your WordPress...

How to Add WhatsApp live chat to your WordPress site?

Step::1 Login to your WordPress dashboardStep::2 Go to the Plugins section and click on Add...