EDD_SL_Plugin_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.


Parameters Parameters

$_transient_data

(Required) Update array build by WordPress.


Top ↑

Return Return

(array) Modified update array with custom plugin data.


Top ↑

Source Source

File: includes/EDD_SL_Plugin_Updater.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.