WordPress at a glance
action is not described

woocommerce_updated_product_sales action-hook . WC 3.6

Fire an action for this direct update so it can be detected by other code.

Usage

add_action( 'woocommerce_updated_product_sales', 'action_function_name_4147' );
function action_function_name_4147( $product_id ){
	// action...
}
$product_id(int)
Product ID that was updated directly.

Changelog

Since 3.6 Introduced.

Where the hook is called

WC_Product_Data_Store_CPT::update_product_sales()
woocommerce_updated_product_sales
woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php 1505
do_action( 'woocommerce_updated_product_sales', $product_id );

Where in WP core the hook is used WooCommerce

Usage not found.