Many a times you want that the plugins you have installed should not show updates. May be because you have modified the plugin for your client’s work or you are doubtful that if the client updates the plugin, it could break the existing site. So what you can do is simply add the following code snippet into your functions.php file and you will disable wordpress plugin updates.
Remember to put the code snippet below to your functions.php without the <php> tag :) as it will already be there ;) (just mentioning this so that someone who is new to wordpres is not zapped!!)

<?php
remove_action( ‘load-update-core.php’, ‘wp_update_plugins’ );
add_filter( ‘pre_site_transient_update_plugins’, create_function( ‘$a’, “return null;” ) );
?>

Hope you liked the code snippet. More coming your way!!

About these ads