WP Manifestindependent plugin directory
manifest / updates / lock-plugins

Lock plugin updates

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

★ 4stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/daggerhart/lock-plugins/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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;
});