WC_Helper_Updater::get_update_data │ public static │ WC 1.0

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 11.2.1

public static function get_update_data() {
	return self::_update_check( self::get_update_check_payload() );
}