Simple code to disable all Notifications in WordPress Blogs/Website.
You must have write access to your website’s wp-config.php file in order to use this trick.
It is useful when you don’t want to get annoying notifications that push your mind to forcefully update a plugin unless you actually need to update it. Also, It helps keeping your website stable as some updated plugin may ruin its stability and may cause some malfunctioning when updated due to incompatibility.
Before Adding the Code
So here is the Code:
<?php /* Code by KharePHP.com Comment below two lines to allow Plugin Updates */ define('DISALLOW_FILE_EDIT', true); define('DISALLOW_FILE_MODS', true); ?>
It will disable all the notifications for updating any plugin, although you may manually update any plugin from back-end.Tags: Plugin Management, Wordpress, Wordpress Hacks