I'm using following to code to disable plugin update notification but it works only if plugin is active, so if I de-active my plugin it start showing update notification. How can I stop this notification even if plugin is not active?
add_filter('site_transient_update_plugins', 'dd_remove_update_nag');
function dd_remove_update_nag($value) {
unset($value->response[plugin_basename(__FILE__)]);
return $value;
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire