How to Disable the WordPress Editors for Themes and Plugins?

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

 “How to Disable the WordPress Editors for Themes and Plugins?”

Follow the steps to disable the WordPress editors for Themes and Plugin  via cPanel:

Step::1 Login to your cPanel

How to Disable the WordPress Editors for Themes and Plugins

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

How to Disable the WordPress Editors for Themes and Plugins

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

How to Disable the WordPress Editors for Themes and Plugins

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

How to Disable the WordPress Editors for Themes and Plugins

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

define ( 'DISALLOW_FILE_EDIT', true);

How to Disable the WordPress Editors for Themes and Plugins

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

How to Disable the WordPress Editors for Themes and Plugins

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

Thanks for Reading this article !!! We hope this was helpful to you all.

Leave a Comment