WP Manifestindependent plugin directory
manifest / updates / lock-plugins

Lock plugin updates

Simple plugin that prevents requests for updates for a given list of plugins.

by daggerhart · github.com/daggerhart/lock-plugins

4stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/daggerhart/lock-plugins/archive/refs/heads/master.zip

Readme

Lock Plugins

A simple WordPress plugin that allows developers to prevent other plugins from updating.

Inspiration: https://twitter.com/danielbachhuber/status/768907891294121984

Usage

Chances are you'd want to put this plugin to be a Must Use Plugin, to prevent it from being disabled.

Then in another plugin, use the following filter to add your list of plugins that should not look for updates.

add_filter('lock_plugins-locked_plugins', function($plugins){
  $plugins[] = 'akismet/akismet.php';

  return $plugins;
});

Read the full README on GitHub →