Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WordPress - Disable specific plugin update check
// have to add that opening tag to get syntax highlighting... ¯\_(ツ)_/¯
* Prevent update notification for plugin
* Place in theme functions.php or at bottom of wp-config.php
function disable_plugin_updates( $value ) {
$pluginsToDisable = [
if ( isset($value) && is_object($value) ) {
foreach ($pluginsToDisable as $plugin) {
if ( isset( $value->response[$plugin] ) ) {
unset( $value->response[$plugin] );
return $value;
add_filter( 'site_transient_update_plugins', 'disable_plugin_updates' );

This comment has been minimized.

Copy link

cliffordp commented May 29, 2019

Plugin to do this for files with version control:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.