woocommerce_shipping_zone_method_added action-hookWC 1.0

Usage

add_action( 'woocommerce_shipping_zone_method_added', 'wp_kama_woocommerce_shipping_zone_method_added_action', 10, 3 );

/**
 * Function for `woocommerce_shipping_zone_method_added` action-hook.
 * 
 * @param  $instance_id 
 * @param  $type        
 * @param  $id          
 *
 * @return void
 */
function wp_kama_woocommerce_shipping_zone_method_added_action( $instance_id, $type, $id ){

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

Where the hook is called

WC_Shipping_Zone::add_shipping_method()
woocommerce_shipping_zone_method_added
woocommerce/includes/class-wc-shipping-zone.php 431
do_action( 'woocommerce_shipping_zone_method_added', $instance_id, $type, $this->get_id() );

Where the hook is used in WooCommerce

woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Shipping.php 29
add_action( 'woocommerce_shipping_zone_method_added', array( __CLASS__, 'delete_zone_count_transient' ), 9 );