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.

Share This