Is there a way to disable update notifications for specific plugins?
As a plugin developer, I have some plugins installed on my personal site using the svn trunk version for testing, but the same plugins are available from the plugin site. In these cases WP considers the latest version to be the most recently published version and constantly tries to warn me that updates are available.
I still want to see notifications for updates on other plugins, but it’s anoying to constantly ignore the Updates (2)
notice in the header!
For example if you don’t want WordPress to show update notifications for akismet, you will do it like:
Hameedullah Khan’s answer will throw a PHP warning. Include this if clause to check to make sure it’s an object before unsetting the response for that plugin.
‘Warning: Attempt to modify property of non-object’
Try this to avoid the warnings (code for the plugin file itself):
I like to put this in the actual plugin. Since I’ve only ever disabled updates on a plugin because I’ve edited or forked the code and don’t want to lose my edits on an update, I’ve already edited the plugin and thus don’t mind editing it more. It keeps my functions file a bit cleaner. But if you wish you can put it in the functions file and a benefit to that method is you can remove multiple plugins from updates by adding another unset line for that plugin like so (code for functions.php):
Disable All Update Notifications with Code
Code will disable update notifications for the WordPress core, plugins, and themes.