Home Plugins lock php files
Lock PHP Files logo

Lock PHP Files

by rokundev on WordPress.org

Completely disables PHP file editing through WordPress admin.

(0)

Secures your WordPress installation by:

  • Disabling theme/plugin editors via DISALLOW_FILE_EDIT
  • Blocking file modifications via DISALLOW_FILE_MODS
  • Removing editor menu items
  • Revoking file editing capabilities
  • Lightweight (only 3KB) with zero performance impact
Active installations0+
Weekly downloads
26
Version1.0.4
Last updated7/7/2025
WordPress version4.7
Tested up to6.8.1
PHP version7.0
Tags
disable editorfile editorprotectionsecuresecurity