Inventory_Presser_Addon_Updater::check_update( array $_transient_data )

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


Description Description

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.


Top ↑

Parameters Parameters

$_transient_data

(array) (Required) Update array build by WordPress.


Top ↑

Return Return

(array) Modified update array with custom plugin data.