woocommerce_cart_ . __FUNCTION__, $this->get_totals_var( cart_contents_total

woocommerce_cart_ . __FUNCTION__, $this->get_totals_var( cart_contents_total

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_cart_ . __FUNCTION__, $this->get_totals_var( cart_contents_total') is found 1 times:

  • /includes/class-wc-cart.php line 300
    	 * @since 3.2.0
    	 * @return float|string|int
    	 */
    	public function get_cart_contents_total() {
    		return apply_filters( 'woocommerce_cart_' . __FUNCTION__, $this->get_totals_var( 'cart_contents_total' ) );
    	}
    
    	/**
    	 * Gets cart tax amount.
    	 *
    	 * @since 3.2.0