WordPress Appearance Editor Removal.

by | May 28, 2015

Remove the WordPress appearance editor from your appearance panel in with one line of code.

Why would you do this? The appearance editor, where you have access to all the code and files in your site is a prime breeding ground for errors or malicious activity if your site were to get hacked.

WordPress themselves provide access to this code as a way to “harden up” your WordPress security.


Here’s the code!
define(‘DISALLOW_FILE_EDIT’, true);

Paste it in the bottom of your wp-config.php file and you’re set.

Subscribe On Youtube

I appreciate you reading and watching my content. If you haven’t already, please consider subscribing to my YouTube channel as it really helps the channel grow so I can continue doing what I do for you.

Thank You For Your Support

Get Started With Bluehost


This site is monetized with affiliate links to companies like Elegant Themes, Blue Host, Amazon, and others that pay a small commission if you purchase a product through a link on this website.

This allows me to continue to produce great content for this site and I appreciate your support. All products recommended by me are both used and approved by myself.

I Recommend Divi From Elegant Themes

Powerful Forms With Ninja Forms

Ninja Forms

Monetize Your Sites With Ezoic Ads