wc_cart_totals_subtotal_html()
Get the subtotal.
No Hooks.
Return
null
. Nothing (null).
Usage
wc_cart_totals_subtotal_html();
wc_cart_totals_subtotal_html() wc cart totals subtotal html code WC 9.8.1
function wc_cart_totals_subtotal_html() { echo WC()->cart->get_cart_subtotal(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped }