EDD_Fees::type_total( string $type = 'fee' )
Calculate the total fee amount for a specific fee type
Description Description
Can be negative
Parameters Parameters
- $type
-
(Optional) Fee type, "fee" or "item"
Default value: 'fee'
Return Return
(float) Total fee amount
Source Source
File: includes/class-edd-fees.php
Changelog Changelog
Version | Description |
---|---|
2.0 | Introduced. |