EDD_Fees::has_fees( string $type = 'fee' )
Check if any fees are present
Description Description
Parameters Parameters
- $type
-
(Optional) Fee type, "fee" or "item"
Default value: 'fee'
Return Return
(bool) True if there are fees, false otherwise
Source Source
File: includes/class-edd-fees.php
Changelog Changelog
Version | Description |
---|---|
1.5 | Introduced. |