edd_get_payment_subtotal( int $payment_id )
Retrieves subtotal for payment (this is the amount before taxes) and then returns a non formatted amount.
Description Description
Parameters Parameters
- $payment_id
-
(Required) Payment ID
Return Return
(float) $subtotal Subtotal for payment (non formatted)
Source Source
File: includes/payments/functions.php
Changelog Changelog
Version | Description |
---|---|
1.3.3 | Introduced. |