How to Disable Updates for a WordPress Plugin

Often times when working with WordPress, it is much easier to use and customize a public plugin to get the functionality you desire.

All is great right? Wrong. Chances are the author of that plugin will add updates to that plugin which will overwrite all custom changes made! Of course you could ignore the pesky update reminders, but if you hand a website over to client, they will not understand. That’s where this strong little code comes in.

add_filter('site_transient_update_plugins', 'dd_remove_update_nag');
function dd_remove_update_nag($value) {
unset($value->response[ plugin_basename(__FILE__) ]);
return $value;

You’ll want to add this to the bottom of the main page in the plugin. This isn’t always the index.php page. You’ll want to look for the page with the following code at the top:


Plugin Name: Plugin name here

Description: WordPress plugin desc..

Version: 1.2

Author: lorem

Author URI:

Plugin URI:


Hope this helps other wordpress users. Cheers!

Leave A Reply Here

  Username [*]

  Email Address [*]


Subscribes to this post comments updates

Please Note: All comments maybe under going moderation so there is no need to resubmit the comments. it will appeared when admin approved it, feel free to subscribes to the post comments rss to stay update