Disable theme, plugin editor and plugin, core updates
Adding the first line to your wordpress wp-config.php file will disable theme and plugin editor. Adding the second line to your wordpress wp-config.php file will disable plugin and core updates.
read moreDisable content editor for specific page template
Adding this snippet to the functions.php of your wordpress theme will disable the content editor when a page is using a specific template. Don’t forget to change the name of the template file on line 08 this sample I have submit.php but can be changed to anything.
read moreDisable sidebar widgets on specific posts
Adding this snippet to the functions.php of your wordpress theme will let you disable widgets on specific posts by updating the array on line 3 with post ID’s. Please note that this is a comma separated list of ID’s.
read morethis months featured snippets
Disable editors and plugin modifications entirely
Adding this snippet to the wp-config.php of your wordpress install will disable theme editing and the plugin editor entirely. Including removing them from the wordpress admin menu and also disabling the ability to delete plugins.
read moreDisable the allow_password_reset feature
Adding this snippet to the functions.php will disable the allow_password_reset feature from the login page. When using the lost password feature after you add this snippet wordpress will display “Password reset is not allowed for this user”.
read moreDisable CRON job feature
Adding this snippet to the wp-config will disable CRON services within wordpress.
read moreLimit the number of post revisions
Adding this PHP code to your wp-config.php will limit the number of post revisions.
read moreDisable widgets on specific pages by user level
Adding this php code to your functions.php will disable widgets on the home page only, without completely disabling widgets. You could change is_home() to is_page() or specific pages.
read more











