LLMS_Order::get_transaction_total( stirng $type = 'amount' )
SQL query to retrieve total amounts for transactions by type
Description Description
Parameters Parameters
- $type
-
(Optional) 'amount' or 'refund_amount'
Default value: 'amount'
Return Return
(float)
Source Source
File: includes/models/model.llms.order.php
Changelog Changelog
Version | Description |
---|---|
3.35.0 | Prepare SQL query properly. |
3.0.0 | Introduced. |