woocommerce_rest_save_product_variation action-hookWC 1.0

Usage

add_action( 'woocommerce_rest_save_product_variation', 'wp_kama_woocommerce_rest_save_product_variation_action', 10, 3 );

/**
 * Function for `woocommerce_rest_save_product_variation` action-hook.
 * 
 * @param  $variation_id 
 * @param  $menu_order   
 * @param  $data         
 *
 * @return void
 */
function wp_kama_woocommerce_rest_save_product_variation_action( $variation_id, $menu_order, $data ){

	// action...
}
$variation_id
-
$menu_order
-
$data
-

Where the hook is called

WC_REST_Products_V1_Controller::save_variations_data()
woocommerce_rest_save_product_variation
WC_REST_Legacy_Products_Controller::save_variations_data()
woocommerce_rest_save_product_variation
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php 1535
do_action( 'woocommerce_rest_save_product_variation', $variation->get_id(), $menu_order, $data );
woocommerce/includes/legacy/api/class-wc-rest-legacy-products-controller.php 695
do_action( 'woocommerce_rest_save_product_variation', $variation->get_id(), $menu_order, $data );

Where the hook is used in WooCommerce

Usage not found.