wc_cart_totals_fee_html()WC 1.0

Get the fee value.

Хуки из функции

Возвращает

null. Ничего (null).

Использование

wc_cart_totals_fee_html( $fee );
$fee(объект) (обязательный)
Fee data.

Код wc_cart_totals_fee_html() WC 8.7.0

function wc_cart_totals_fee_html( $fee ) {
	$cart_totals_fee_html = WC()->cart->display_prices_including_tax() ? wc_price( $fee->total + $fee->tax ) : wc_price( $fee->total );

	echo apply_filters( 'woocommerce_cart_totals_fee_html', $cart_totals_fee_html, $fee ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}