woocommerce_shipping_zone_method_added

woocommerce_shipping_zone_method_added

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_shipping_zone_method_added') is found 1 times:

  • /includes/class-wc-shipping-zone.php line 431
    			$instance_id = $this->data_store->add_method( $this->get_id(), $type, $count + 1 );
    		}
    
    		if ( $instance_id ) {
    			do_action( 'woocommerce_shipping_zone_method_added', $instance_id, $type, $this->get_id() );
    		}
    
    		WC_Cache_Helper::get_transient_version( 'shipping', true );
    
    		return $instance_id;
    	}
    

See this hook used in plugins: