woocommerce_get_formatted_order_total

woocommerce_get_formatted_order_total

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_formatted_order_total') is found 2 times:

  • /includes/abstracts/abstract-wc-order.php line 2157
    	 * @return string
    	 */
    	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 );
    	}
    
    	/**
    	 * Gets subtotal - subtotal is shown before discounts, but with localised taxes.
    	 *
    	 * @param bool   $compound (default: false).
    
  • /includes/class-wc-order.php line 245
    		 * @param WC_Order $order            Order data.
    		 * @param string   $tax_display      Type of tax display.
    		 * @param bool     $display_refunded If should include refunded value.
    		 */
    		return apply_filters( 'woocommerce_get_formatted_order_total', $formatted_total, $this, $tax_display, $display_refunded );
    	}
    
    	/*
    	|--------------------------------------------------------------------------
    	| CRUD methods
    	|--------------------------------------------------------------------------