Usually, web hosting providers disable WordPress Plugin and Theme Editor tabs by default for security reasons. The Plugin Editor allows you to edit plugin and theme files directly from your WordPress dashboard. While it’s disabled by default for security reasons, you may need to enable it for debugging or adding custom code.
Enabling Plugin Editor allows direct changes to your site’s files, which can be a security risk. Only enable it if necessary and disable it after making changes to protect your website.
Access Your WordPress Files
To make this change, you’ll need access to your wp-config.php file, located in your WordPress installation directory. You can access it using:
- Use cPanel or an FTP client (FileZilla, Cyberduck, etc.) to navigate to your WordPress root directory.
Edit the wp-config.php File
- Open the wp-config.php file in a text editor like Notepad++ or VS Code. This is the same file used to change the PHP memory/time limit values mentioned in this article.
Enable Plugin Editor Tab in WordPress
- Locate this line:
define('DISALLOW_FILE_EDIT', true); - Change true to false:
define('DISALLOW_FILE_EDIT', false); - Save the file and upload it back to your server.
Plugin Editor Tab WordPress Dashboard
Now, you’ve been granted access to WordPress Plugin and Theme Editor tabs.
“For security reasons, it’s recommended to revert the setting back
trueafter making the changes.”
If you still need any further assistance, feel free to contact Premium Addons support team. We would be more than glad to help!