WordPress at a glance
function is not described

woocommerce_format_total() WC 1.0

Deprecated from version 2.1. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Formal total costs - format to the number of decimal places for the base currency.

No Hooks.

Return

String. Nothing.

Usage

woocommerce_format_total( $number );
$number(mixed) (required)
-

Changelog

Deprecated 2.1

Code of woocommerce_format_total() WC 5.3.0

<?php
function woocommerce_format_total( $number ) {
	wc_deprecated_function( __FUNCTION__, '2.1', 'wc_format_decimal()' );
	return wc_format_decimal( $number, wc_get_price_decimals(), false );
}