WC_Helper_Updater::get_update_data
Get update data for all extensions.
Scans through all subscriptions for the connected user, as well as all Woo extensions without a subscription, and obtains update data for each product.
Метод класса: WC_Helper_Updater{}
Хуков нет.
Возвращает
array. Update data {product_id => data}
Использование
$result = WC_Helper_Updater::get_update_data();
Код WC_Helper_Updater::get_update_data() WC Helper Updater::get update data WC 11.2.1
public static function get_update_data() {
return self::_update_check( self::get_update_check_payload() );
}