How to disable check for WordPress plugin updates

This snippet will prevent WordPress from checking if there’s any updates for installed plugins. This could be useful if you’re creating a website for a client, and you don’t want them to update their plugins incase you have changed the code in it, or if you’re worried that the update will break the site.

Add this code to your functions.php file