woocommerce_removed_coupon

woocommerce_removed_coupon

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_removed_coupon') is found 1 times:

  • /includes/class-wc-cart.php line 1917
    1913
    1914
    1915
    1916
    1917
    1918
    1919
    1920
    1921
    1922
    1923
        }
     
        WC()->session->set( 'refresh_totals', true );
     
        do_action( 'woocommerce_removed_coupon', $coupon_code );
     
        return true;
    }
     
    /**
     * Trigger an action so 3rd parties can add custom fees.

See this hook used in plugins: