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


Top ↑

Return Return

(array|bool) List of fees when available, false when there are no fees


Top ↑

Source Source

File: includes/class-edd-fees.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.