WordPress disabled specific plugin updates – add below hook into functions.php

Below for example disabled perfect-WooCommerce-brands plugin updates for finding root dot PHP file go to wordpress dashboard > plugin file editor option left side navigation > select plugin that needs disable updates > and copy path that shown by red marked


/// Disabled perfect-woocommerce-brands plugin updates
function filter_plugin_updates_perfect( $value ) {
   unset( $value->response['perfect-woocommerce-brands/perfect-woocommerce-brands.php'] );
   return $value;
}
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates_perfect' );

WordPress disabled all plugins updates - add below hook into functions.php


function remove_core_updates(){
   global $wp_version;
   return(object) array('last_checked'=> time(),'version_checked'=> $wp_version,);
}
add_filter('pre_site_transient_update_core','remove_core_updates');
add_filter('pre_site_transient_update_plugins','remove_core_updates');
add_filter('pre_site_transient_update_themes','remove_core_updates');