Install
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.zipNo 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;
});