Home » How to Disable File Editing from WordPress Admin Dashboad

How to Disable File Editing from WordPress Admin Dashboad

As you all know WordPress allow us to edit files from the WordPress Admin Dashboad. This is a good feature. But it can be harmful for your website. If any hackers gain access to your WordPress admin panel, they can inject subtle, malicious code to your theme and plugin.

To disable the ability to edit plugins and the theme files, Just paste the following code in your wp-config.php file.


   define('DISALLOW_FILE_EDIT', true);

About Author
Picture of W3Mind

W3Mind

W3Mind focuses on Blogging, Make Money Online, SEO, Business Blogging, Social Media, WordPress, Internet Tools, Web Design and Development.
Give it a Share
Facebook
Twitter
LinkedIn
You May Also Like
How to
START A
BLOG
(step by step)
Load WordPress Sites in as fast as 37ms!