This commit is contained in:
Mike Jolley 2017-08-22 16:31:45 +01:00
parent 8dbd9b88a7
commit c41fb8f00c
1 changed files with 2 additions and 3 deletions

View File

@ -2,10 +2,9 @@
/**
* Cart fees API.
*
* Developers can add fees to the cart via WC()->cart->fees_api which will reference this class.
* Developers can add fees to the cart via WC()->cart->fees_api() which will reference this class.
*
* Fees can be added/removed at any time, however, before cart total calculations fees are purged
* so we suggest using the action woocommerce_cart_calculate_fees or woocommerce_before_calculate_totals.
* We suggest using the action woocommerce_cart_calculate_fees hook for adding fees.
*
* @author Automattic
* @package WooCommerce/Classes