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.

The Most Popular Hosting Period

I Recommend Divi From Elegant Themes

Ezoic Ads


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.


Pin It on Pinterest

Share This