WC_Abstract_Order::get_formatted_order_total()
Gets order total - formatted for display.
Method of the class: WC_Abstract_Order{}
Hooks from the method
Return
String
.
Usage
$WC_Abstract_Order = new WC_Abstract_Order(); $WC_Abstract_Order->get_formatted_order_total();
WC_Abstract_Order::get_formatted_order_total() WC Abstract Order::get formatted order total code WC 9.7.1
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 ); }