Disable update on wordpress plugin

If you have a plugin you wan't update, and you wan't see anymore newer version the only way to disable autoupdate for this plugin if to modify the code.

Go in plugin section, then press "edit" on plugin you want disable update and go down at the end of the code (before the "?>") and paste this:

  1. add_filter('site_transient_update_plugins', 'dd_remove_update_nag');
  2. function dd_remove_update_nag($value) {
  3. unset($value->response[ plugin_basename(__FILE__) ]);
  4. return $value;
  5. }

Save and you are done.

Thanks DD32 for the code. (http://dd32.id.au)

This post is also available in: Italian

Comments (0)

› No comments yet.

Leave a Reply