Knowledge Base
CSS
Plugins
- Locked out from Updraftplus Dashboard
- MAINWP – Kod för att se Server-IP
- Elementor List Icon fix
- Browser downloads file when opening a page
- Elementor Scroll Offset Menu Anchors
- Widget Panel Not Loading
- Align checkboxes to the right
- Greatly Improve the Entrance Animations
- Limit Elementor Posts Widget text Length
- Change Product Description Tab and Titles in WooCommerce
- Tweak Crocoblock JetEngine Radio Filter
Wordpress
Browsers
Windows
Server
Themes
WooCommerce
< All Topics
Print
Disable file editing in WordPress admin
Posted2024-06-12
Updated2025-05-10
ByLasse
File to edit: wp-config.php
Open the file and search for DISALLOW_FILE_EDIT to see if you have the line already.
If not paste, paste the code just before /* That’s all, stop editing! Happy blogging. */
define ('DISALLOW_FILE_EDIT', true);
then save the file
If you want to temporarily allow file editing, you can simply replace ”true” with ”false”.Change it back when you are done editing.
Table of Contents