Tuesday, May 8, 2012

How to disable plugin updates on WordPress


How to disable plugin updates on your WordPress blog

Wordpress By default automatically checks if the plugins updates are available so after checking if its find new update available it will ask you to install it. Plugin update is useful in most cases, but when you may not want them to updates plugins, like if you modified a plugin especially for perticular website. So I describe an easy way to disable plugin updates on any WordPress blog, Please check

So simple: Just paste the following code into functions.php and save it. Thats all

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

No comments:

Post a Comment

I just got my #domain @BigRock. Get upto 25% off with my personalized coupon link Get upto 25% off