From 8bc144f88c54b558b0fe4958f206c56beab5fc0a Mon Sep 17 00:00:00 2001 From: Savannah Russell Date: Thu, 21 Sep 2017 17:35:30 -0500 Subject: [PATCH] Disabling theme edits via the WP Admin --- functions/wordpress/utility.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/wordpress/utility.php b/functions/wordpress/utility.php index 9dcd417..9dba125 100644 --- a/functions/wordpress/utility.php +++ b/functions/wordpress/utility.php @@ -40,6 +40,9 @@ function disable_emojis_tinymce( $plugins ) { } } +// Disallow Theme Edits +define('DISALLOW_FILE_EDIT',true); + // -------------------------------- // Fixes