Remove plugins and themes from the update list. Just alter the $slug to the plugin/theme slug, you do not want to update.
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
prevent-update.php

README.md

remove-plugin-theme-from-update-list

It can happen a WordPress plugin or theme, you have created for a single client collides with a plugin or theme in the WordPress repository. In this case, if the client "updates" the plugin/theme using the WP interface, the wrong files will be downloaded from the repository.

This script demonstrates, how you can prevent the "update"-action to show up for specified themes or plugins. You just have to alter the $slug with the ID of your plugin or theme.

I hope this helps.