woocommerce_helper_subscriptions_refresh хук-событиеWC 1.0

Fires when Helper subscriptions are refreshed.

Использование

add_action( 'woocommerce_helper_subscriptions_refresh', 'wp_kama_woocommerce_helper_subscriptions_refresh_action' );

/**
 * Function for `woocommerce_helper_subscriptions_refresh` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_helper_subscriptions_refresh_action(){

	// action...
}

Где вызывается хук

WC_Helper::_helper_auth_refresh()
woocommerce_helper_subscriptions_refresh
woocommerce/includes/admin/helper/class-wc-helper.php 886
do_action( 'woocommerce_helper_subscriptions_refresh' );

Где используется хук в WooCommerce

woocommerce/includes/tracks/events/class-wc-extensions-tracking.php 23
add_action( 'woocommerce_helper_subscriptions_refresh', array( $this, 'track_helper_subscriptions_refresh' ) );