WordPress at Your Fingertips
function is not described

WC_Abstract_Order::get_formatted_order_total() public WC 1.0

Gets order total - formatted for display.

{} It's a method of the class: WC_Abstract_Order{}

Return

String.

Usage

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_formatted_order_total();

Code of WC_Abstract_Order::get_formatted_order_total() WC 5.8.0

public function get_formatted_order_total() {
	$formatted_total = wc_price( $this->get_total(), array( 'currency' => $this->get_currency() ) );
	return apply_filters( 'woocommerce_get_formatted_order_total', $formatted_total, $this );
}