WordPress at Your Fingertips
filter is not described

woocommerce_calculated_total filter-hook . WC 1.0

Allow plugins to filter the grand total, and sum the cart totals in case of modifications.


add_filter( 'woocommerce_calculated_total', 'filter_function_name_7186', 10, 2 );
function filter_function_name_7186( $total, $cart ){
	// filter...

	return $total;

Where the hook is called

woocommerce/includes/class-wc-cart-totals.php 877
$this->cart->set_total( max( 0, apply_filters( 'woocommerce_calculated_total', $this->get_total( 'total' ), $this->cart ) ) );

Where in WP core the hook is used WooCommerce

Usage not found.