Uses

Check for Updates at the defined API endpoint and modify the update array.

Check for Updates at the defined API endpoint and modify the update array.

This function dives into the update API just when WordPress creates its update array,
then adds a custom API call and injects the custom plugin data retrieved from the API.
It is reassembled from parts of the native WordPress plugin update code.
See wp-includes/update.php line 121 for the original wp_update_plugins() function.