Last active
          October 22, 2025 21:13 
        
      - 
      
 - 
        
Save rniswonger/ee1b30e5fd3693bb5f92fbcfabe1654d to your computer and use it in GitHub Desktop.  
    WordPress - Disable specific plugin update check
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** | |
| * Prevent update notification for plugin | |
| * http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
| * Place in theme functions.php or at bottom of wp-config.php | |
| */ | |
| function disable_plugin_updates( $value ) { | |
| if ( isset($value) && is_object($value) ) { | |
| if ( isset( $value->response['plugin-folder/plugin.php'] ) ) { | |
| unset( $value->response['plugin-folder/plugin.php'] ); | |
| } | |
| } | |
| return $value; | |
| } | |
| add_filter( 'site_transient_update_plugins', 'disable_plugin_updates' ); | 
+1
Thanks!
Thank you very much!!
or you can write this line in code
add_filter('site_transient_update_plugins', '__return_false');
or you can write this line in code
add_filter('site_transient_update_plugins', '__return_false');
Note that the point is to disable specific plugin updates, not all of them.
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
I thought this was cool. I made a version you can place in the main plugin file with no edits. https://gist.github.com/deanoakley/e05b9a037c5afce473b26b224a62cff5