WP Plugin update disable

WP Plugin update disable



// to disable all plugin update
function my_filter_plugin_updates( $value ) {

if( !empty($value->response) ) {
$value->response = array();
}
    return $value;
}
add_filter( 'site_transient_update_plugins', 'my_filter_plugin_updates' );



for individual plugin check response and unset particular one.

$value->response['{plugin path}']

Share this

Related Posts

Previous
Next Post »