disable-file-editing-from-w.../disable-file-editing.php

16 lines
469 B
PHP

<?php
/*
* Plugin Name: Disable File Editing
* Plugin URI: https://giteacoffee.emucafe.org/naferrell/disable-file-editing-from-wp-admin
* Description: Disable Theme and Plugin Editing From Admin Area
* Author: Nicholas A. Ferrell
* Author URI: https://thenewleafjournal.com/author/naferrell
* Version: Final
* License: MIT
* License URL: https://opensource.org/licenses/MIT
* Text Domain: disable-file-editing-from-wp-admin
*/
define( 'DISALLOW_FILE_EDIT', true );
?>