woocommerce_delete_product_variation action-hookWC 1.0

Usage

add_action( 'woocommerce_delete_product_variation', 'wp_kama_woocommerce_delete_product_variation_action' );

/**
 * Function for `woocommerce_delete_product_variation` action-hook.
 * 
 * @param  $variation_id 
 *
 * @return void
 */
function wp_kama_woocommerce_delete_product_variation_action( $variation_id ){

	// action...
}
$variation_id
-

Where the hook is called

WC_Product_Variable_Data_Store_CPT::delete_variations()
woocommerce_delete_product_variation
woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php 676
do_action( 'woocommerce_delete_product_variation', $variation_id );

Where the hook is used in WooCommerce

Usage not found.