WC_Helper::refresh_helper_subscriptions()public staticWC 1.0

Flush helper authentication cache.

Method of the class: WC_Helper{}

Return

null. Nothing (null).

Usage

$result = WC_Helper::refresh_helper_subscriptions();

WC_Helper::refresh_helper_subscriptions() code WC 9.5.1

public static function refresh_helper_subscriptions() {
	/**
	 * Fires when Helper subscriptions are refreshed.
	 *
	 * @since 8.3.0
	 */
	do_action( 'woocommerce_helper_subscriptions_refresh' );

	self::_flush_authentication_cache();
	self::_flush_subscriptions_cache();
	self::_flush_updates_cache();
	self::flush_product_usage_notice_rules_cache();
}