Disables updates for a list of plugins permanently without editing them
Just add these lines to your wp-config to disable updates for these plugins:
/**
* Disable updates for these plugins
*/
define( 'PLUGINS_DISABLED_FOR_UPDATE', serialize( array(
'jetpack/jetpack.php',
'woocommerce/woocommerce.php',
) ) );
Install the plugin via Composer
composer require anttiviljami/wp-disable-any-plugin-updates
Activate the plugin
wp plugin activate wp-disable-any-plugin-updates