Disable WP Editing

PHOTO EMBED

Mon Oct 25 2021 04:15:43 GMT+0000 (UTC)

Saved by @mel #wordpress #php #wp-config

// Place in wp-config
// removing the edit_themes, edit_plugins, and edit_files capabilities for all users
define('DISALLOW_FILE_EDIT', true);

// disable theme updates and new plugins 
// define('DISALLOW_FILE_MODS', true);
content_copyCOPY