WordPress at a glance
filter is not described

woocommerce_package_rates filter-hook . WC 1.0

Filter the calculated rates.

Usage

add_filter( 'woocommerce_package_rates', 'filter_function_name_8088', 10, 2 );
function filter_function_name_8088( $package_rates, $package ){
	// filter...

	return $package_rates;
}
$package_rates
-
$package
-

Where the hook is called

WC_Shipping::calculate_shipping_for_package()
woocommerce_package_rates
woocommerce/includes/class-wc-shipping.php 362
$package['rates'] = apply_filters( 'woocommerce_package_rates', $package['rates'], $package );

Where in WP core the hook is used WooCommerce

Usage not found.