Disable Specific Plugin Updates WordPress

Disable Specific Plugin Updates WordPress

This function will stop plugin update notification on WordPress.

	function disable_plugin_updates($value){
	  if (isset($value) && is_object($value)){
		  
		if (isset( $value->response['full-screen-morphing-search/full-screen-morphing-search.php'])) {
			unset($value->response['full-screen-morphing-search/full-screen-morphing-search.php']);
		}
		/*Add another line here*/
		
	  }
	  return $value;
	}
	add_filter( 'site_transient_update_plugins', 'disable_plugin_updates' );

Leave a Reply