woocommerce_updated_product_attribute_summary action-hookWC 10.2.0

Fires after the attribute summary of a product variation has been updated.

Usage

add_action( 'woocommerce_updated_product_attribute_summary', 'wp_kama_woocommerce_updated_product_attribute_summary_action' );

/**
 * Function for `woocommerce_updated_product_attribute_summary` action-hook.
 * 
 * @param int $variation_id The ID of the product variation.
 *
 * @return void
 */
function wp_kama_woocommerce_updated_product_attribute_summary_action( $variation_id ){

	// action...
}
$variation_id(int)
The ID of the product variation.

Changelog

Since 10.2.0 Introduced.

Where the hook is called

WC_Post_Data::regenerate_variation_attribute_summary()
woocommerce_updated_product_attribute_summary
woocommerce/includes/class-wc-post-data.php 740
do_action( 'woocommerce_updated_product_attribute_summary', $variation_id );

Where the hook is used in WooCommerce

Usage not found.