woocommerce_cart_ . __FUNCTION__, $this->get_totals_var( total
woocommerce_cart_ . __FUNCTION__, $this->get_totals_var( total
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_cart_ . __FUNCTION__, $this->get_totals_var( total') is found 1 times:
- /includes/class-wc-cart.php line 321
* @param string $context If the context is view, the value will be formatted for display. This keeps it compatible with pre-3.2 versions. * @return float|string */ public function get_total( $context = 'view' ) { $total = apply_filters( 'woocommerce_cart_' . __FUNCTION__, $this->get_totals_var( 'total' ) ); return 'view' === $context ? apply_filters( 'woocommerce_cart_total', wc_price( $total ) ) : $total; } /** * Get total tax amount. *