EDD_Fees::get_fees( string $type = 'fee', int $download_id, int $price_id = NULL )
Retrieve all active fees
Description Description
Parameters Parameters
- $type
-
(Optional) Fee type, "fee" or "item"
Default value: 'fee'
- $download_id
-
(Required) The download ID whose fees to retrieve
- $price_id
-
(Optional) The variable price ID whose fees to retrieve
Default value: NULL
Return Return
(array|bool) List of fees when available, false when there are no fees
Source Source
File: includes/class-edd-fees.php
Changelog Changelog
Version | Description |
---|---|
1.5 | Introduced. |