Snippets Collections
//disable post revisions
//define('WP_POST_REVISIONS', false );

//limit post revisions
define('WP_POST_REVISIONS', 3);

//enable debug log
//define( 'WP_DEBUG_LOG', true );

//output debug log
//define( 'WP_DEBUG_DISPLAY', true );
// 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);

Mon Oct 25 2021 04:21:40 GMT+0000 (Coordinated Universal Time)

#wordpress #php #wp-config

Mon Oct 25 2021 04:15:43 GMT+0000 (Coordinated Universal Time)

#wordpress #php #wp-config

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension