Lock PHP Files
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
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
- 01Upload to /wp-content/plugins/
- 02Activate in WordPress admin
- 03File editing will be immediately disabled
Frequently asked questions.
How do I verify it’s working?
Try accessing /wp-admin/plugin-editor.php – you’ll see an error message.
Can I temporarily enable editing?
Yes, either deactivate the plugin or modify wp-config.php.
Will this affect updates?
No, automatic background updates still work.