WC_Helper_Subscriptions_API::refresh()
Refresh account and subscriptions from WooCommerce.com and serve subscriptions as JSON.
Method of the class: WC_Helper_Subscriptions_API{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_Helper_Subscriptions_API::refresh();
WC_Helper_Subscriptions_API::refresh() WC Helper Subscriptions API::refresh code WC 9.7.1
public static function refresh() { WC_Helper::refresh_helper_subscriptions(); WC_Helper::get_subscriptions(); WC_Helper::get_product_usage_notice_rules(); self::get_subscriptions(); }