Stop Plugin from showing updates

While developing WordPress site most of the time we use different plugin for the better support of the site.And some times we as a developer make some customization in the default plugin files for our required functionality.

The plugin files are always get updated from its developer and the updates for newer version are notified to us by the wordpress. Suppose we have make some customization in code in the original plugin’s file then that changes will be removed if we update the plugin file to newer version.So to solve this problem we have to stop the automatic update option of the plugin or update notification of the plugin.

To do this we can have two Methods.
That are,

Method 1:

just add below code to the function.php file of your current theme ,

# 3.0:
remove_action( 'load-update-core.php', 'wp_update_plugins' );
add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) );

if you are using wordpress 3.0 or higher version.

# 2.8 to 3.0:
remove_action( 'load-plugins.php', 'wp_update_plugins' );
remove_action( 'load-update.php', 'wp_update_plugins' );
remove_action( 'admin_init', '_maybe_update_plugins' );
remove_action( 'wp_update_plugins', 'wp_update_plugins' );
add_filter( 'pre_transient_update_plugins', create_function( '$a', "return null;" ) );

for wordpress version 2.8 to 3.0


# 2.3 to 2.7:
add_action( 'admin_menu', create_function( '$a', "remove_action( 'load-plugins.php', 'wp_update_plugins' );") );
add_action( 'admin_init', create_function( '$a', "remove_action( 'admin_init', 'wp_update_plugins' );"), 2 );
add_action( 'init', create_function( '$a', "remove_action( 'init', 'wp_update_plugins' );"), 2 );
add_filter( 'pre_option_update_plugins', create_function( '$a', "return null;" ) );

for the wordpress version 2.3 to 2.7

This method stops all the updates.This also stops update notification for the theme.


Method 2:

Just change the version of the specified WordPress plugin to very high number from its header file.

For ex,

Plugin Name: Plugin name
Plugin URI:  Plugin URL
Version:     1000
Author: Arpi Patel
Author URI:  shareprogrammingtips.com

You can select any of the above method to stop the updates of the plugin.


hiii friends... i am doing msc in computer application and information technology. we are here to share our knowledge and idea on shareprogrammingtips.com.

More Posts - Website

1 Comment to “Stop Plugin from showing updates”

  • David Wood fin April 12, 2012 at 2:16 pm

    Thank you four nice writing. It will help me for my research on Recycle.

Post comment

Follow us on Twitter! Follow us on Twitter!

Search in this website

our sponsors

Find us on Facebook

Find us on stackoverflow


Tell us who you are

View Results

Loading ... Loading ...

My Bookmarks

Sponsers Link