From c41fb8f00c20a0b74ea25d702e793ff99458475e Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Tue, 22 Aug 2017 16:31:45 +0100 Subject: [PATCH] docblock --- includes/class-wc-cart-fees.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/class-wc-cart-fees.php b/includes/class-wc-cart-fees.php index 44d9075d9ac..15bbe709b3d 100644 --- a/includes/class-wc-cart-fees.php +++ b/includes/class-wc-cart-fees.php @@ -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