Created
June 13, 2025 00:02
-
-
Save chrisdavidmiles/344598962dd2ce293fda6e714e5a933b to your computer and use it in GitHub Desktop.
WordPress Plugin: Disallow File Edit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Disallow File Edit | |
Description: Disallows file editing from the WordPress admin panel. | |
Version: 1.0 | |
Update URI: false | |
*/ | |
defined('DISALLOW_FILE_EDIT') || define('DISALLOW_FILE_EDIT', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment