WordPress at Your Fingertips
filter is not described

woocommerce_shipping_rate_cost filter-hook . WC 3.2.0

Get rate cost.

Usage

add_filter( 'woocommerce_shipping_rate_cost', 'filter_function_name_3248', 10, 2 );
function filter_function_name_3248( $data_cost, $that ){
	// filter...

	return $data_cost;
}
$data_cost
-
$that
-

Changelog

Since 3.2.0 Introduced.

Where the hook is called

WC_Shipping_Rate::get_cost()
woocommerce_shipping_rate_cost
woocommerce/includes/class-wc-shipping-rate.php 210
return apply_filters( 'woocommerce_shipping_rate_cost', $this->data['cost'], $this );

Where in WP core the hook is used WooCommerce

Usage not found.