WordPress at Your Fingertips
filter is not described

woocommerce_shipping_rate_id filter-hook . WC 3.2.0

Get ID for the rate. This is usually a combination of the method and instance IDs.

Usage

add_filter( 'woocommerce_shipping_rate_id', 'filter_function_name_395', 10, 2 );
function filter_function_name_395( $data_id, $that ){
	// filter...

	return $data_id;
}
$data_id
-
$that
-

Changelog

Since 3.2.0 Introduced.

Where the hook is called

WC_Shipping_Rate::get_id()
woocommerce_shipping_rate_id
woocommerce/includes/class-wc-shipping-rate.php 171
return apply_filters( 'woocommerce_shipping_rate_id', $this->data['id'], $this );

Where in WP core the hook is used WooCommerce

Usage not found.