WordPress at Your Fingertips
filter is not described

woocommerce_shipping_rate_instance_id filter-hook . WC 3.2.0

Get instance ID the rate belongs to.

Usage

add_filter( 'woocommerce_shipping_rate_instance_id', 'filter_function_name_486', 10, 2 );
function filter_function_name_486( $data_instance_id, $that ){
	// filter...

	return $data_instance_id;
}
$data_instance_id
-
$that
-

Changelog

Since 3.2.0 Introduced.

Where the hook is called

WC_Shipping_Rate::get_instance_id()
woocommerce_shipping_rate_instance_id
woocommerce/includes/class-wc-shipping-rate.php 191
return apply_filters( 'woocommerce_shipping_rate_instance_id', $this->data['instance_id'], $this );

Where in WP core the hook is used WooCommerce

Usage not found.