anttiviljami/wp-disable-any-plugin-updates

Disables updates for a list of plugins permanently without editing them

1.0 2017-04-12 19:56 UTC

This package is auto-updated.

Last update: 2024-04-27 13:46:50 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

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',
) ) );

Installation

The Composer Way (preferred)

Install the plugin via Composer

composer require anttiviljami/wp-disable-any-plugin-updates

Activate the plugin

wp plugin activate wp-disable-any-plugin-updates