How to category Design category Development category News category

Quick note on disabling WordPress plugin updates

Just  quick sniplet of code to drop into a plugin file to disable plugin update notifications.
add_filter('site_transient_update_plugins', 'dd_remove_update_nag');
function dd_remove_update_nag($value) {
 unset($value->response[ plugin_basename(__FILE__) ]);
 return $value;
}
Tags:

Daniel Bage

qr code

Comments are closed.