woocommerce_shipping_zone_method_deleted action-hookWC 1.0

Usage

add_action( 'woocommerce_shipping_zone_method_deleted', 'wp_kama_woocommerce_shipping_zone_method_deleted_action', 10, 3 );

/**
 * Function for `woocommerce_shipping_zone_method_deleted` action-hook.
 * 
 * @param  $instance_id 
 * @param  $method_id   
 * @param  $id          
 *
 * @return void
 */
function wp_kama_woocommerce_shipping_zone_method_deleted_action( $instance_id, $method_id, $id ){

	// action...
}
$instance_id
-
$method_id
-
$id
-

Where the hook is called

WC_Shipping_Zone::delete_shipping_method()
woocommerce_shipping_zone_method_deleted
WC_AJAX::shipping_zone_methods_save_changes()
woocommerce_shipping_zone_method_deleted
woocommerce/includes/class-wc-shipping-zone.php 455
do_action( 'woocommerce_shipping_zone_method_deleted', $instance_id, $method->method_id, $this->get_id() );
woocommerce/includes/class-wc-ajax.php 3321
do_action( 'woocommerce_shipping_zone_method_deleted', $instance_id, $method_id, $zone_id );

Where the hook is used in WooCommerce

Usage not found.