Explain the fees method in more detail.

Closes #9231 Closes #9193
This commit is contained in:
Mike Jolley 2015-10-01 10:05:10 +02:00
parent e43fa91ab9
commit 1defb3fb4f
1 changed files with 5 additions and 5 deletions

View File

@ -1899,12 +1899,12 @@ class WC_Cart {
/*-----------------------------------------------------------------------------------*/
/**
* add_fee function.
* Add additional fee to the cart
*
* @param mixed $name
* @param mixed $amount
* @param bool $taxable (default: false)
* @param string $tax_class (default: '')
* @param string $name Unique name for the fee. Multiple fees of the same name cannot be added.
* @param float $amount Fee amount.
* @param bool $taxable (default: false) Is the fee taxable?
* @param string $tax_class (default: '') The tax class for the fee if taxable. A blank string is standard tax class.
*/
public function add_fee( $name, $amount, $taxable = false, $tax_class = '' ) {