EDD_Payment::add_fee( array $args, bool $global = true )
Add a fee to a given payment
Description Description
Parameters Parameters
- $args
-
(Required) Array of arguments for the fee to add
- $global
-
(Optional)
Default value: true
Return Return
(bool) If the fee was added
Source Source
File: includes/payments/class-edd-payment.php
Changelog Changelog
Version | Description |
---|---|
2.5 | Introduced. |