Since plugin updates might bring some unexpected issues to the compatibilies.

Is it recommended to modify plugin version value to fool the wordpress plugin update system if priority is to turn off plugin out-of-date warnings from wordpress backend ?


You can use site_transient_update_plugins hook to disable plugin updates.

function filter_plugin_updates( $value ) {
    unset( $value->response['plugin_folder/plugin_name.php'] );
    return $value;
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' );
  • /* e.g. adding below function in any plugin's root php file to stop showing plugin upgrade alert is tested working */ add_filter('site_transient_update_plugins', 'remove_update_notification'); function remove_update_notification($value) { unset($value->response[ plugin_basename(FILE) ]); return $value; }
    – BOBO
    Feb 21 '17 at 9:57
  • I would suggest to put it in your functions, rather than modifying your plugin. Feb 21 '17 at 10:12

We've used this plugin with a great deal of success:


It allows you to selectively switch off individual updates for the core, plugins, drop-ins and themes; or switch off updates for the whole lot.

It also blocks update warnings and notices, without you having to mess with your code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.