woocommerce_cart_reset

woocommerce_cart_reset

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_cart_reset') is found 1 times:

  • /includes/class-wc-cart.php line 2152
    2148
    2149
    2150
    2151
    2152
    2153
    2154
    2155
    2156
    2157
    2158
    */
    private function reset_totals() {
        $this->totals = $this->default_totals;
        $this->fees_api->remove_all_fees();
        do_action( 'woocommerce_cart_reset', $this, false );
    }
     
    /**
     * Returns 'incl' if tax should be included in cart, otherwise returns 'excl'.
     *
     * @return string