Add note about #15904

This commit is contained in:
Mike Jolley 2017-07-03 10:26:21 +01:00
parent ffc468af06
commit 748c39d966
1 changed files with 4 additions and 0 deletions

View File

@ -1994,6 +1994,10 @@ class WC_Cart {
* Fee is an amount of money charged for a particular piece of work
* or for a particular right or service, and not supposed to be negative.
*
* This method should be called on a callback attached to the
* woocommerce_cart_calculate_fees action during cart/checkout. Fees do not
* persist.
*
* @param string $name Unique name for the fee. Multiple fees of the same name cannot be added.
* @param float $amount Fee amount (do not enter negative amounts).
* @param bool $taxable Is the fee taxable? (default: false).