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

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

add_action( 'woocommerce_updated', 'wp_kama_woocommerce_updated_action' );

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

	// action...
}

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

WC_Install::check_version()
woocommerce_updated
woocommerce/includes/class-wc-install.php 243
do_action( 'woocommerce_updated' );

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

woocommerce/includes/class-woocommerce.php 214
add_action( 'woocommerce_updated', array( $this, 'add_woocommerce_inbox_variant' ) );
woocommerce/src/Internal/Admin/Onboarding/OnboardingProfile.php 26
add_action( 'woocommerce_updated', array( __CLASS__, 'maybe_mark_complete' ) );
woocommerce/src/Internal/Admin/RemoteFreeExtensions/Init.php 23
add_action( 'woocommerce_updated', array( __CLASS__, 'delete_specs_transient' ) );