wc_empty_cart_message()
Show notice if cart is empty.
Description Description
Source Source
File: includes/wc-template-functions.php
function wc_empty_cart_message() { echo '<p class="cart-empty woocommerce-info">' . wp_kses_post( apply_filters( 'wc_empty_cart_message', __( 'Your cart is currently empty.', 'woocommerce' ) ) ) . '</p>'; }
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |