Post On : January 27, 2020

Hello guy’s today I am showing you how to hide checking for plugins updates using code

WordPress automatically display plugins notification which plugins need to update. Like below screenshot.

Developer is worried about plugins update because sometimes updating plugins may be break your site and also annoyed developer due to plugin updates. If you want to disable checking for plugin updates then following code Add in your functions.php file.

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

Now you can see Disable checking for plugin updates in below my screenshot.

I hope this article helpful for you.

Thank you 🙂

Catagory :Wordpress