wc_cart_totals_subtotal_html()
Get the subtotal.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wc_cart_totals_subtotal_html();
Код wc_cart_totals_subtotal_html() wc cart totals subtotal html WC 8.7.0
function wc_cart_totals_subtotal_html() { echo WC()->cart->get_cart_subtotal(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped }