woocommerce_after_cart_item_quantity_update хук-событие . WC 1.0
Использование
add_action( 'woocommerce_after_cart_item_quantity_update', 'action_function_name_503', 10, 4 ); function action_function_name_503( $cart_item_key, $quantity, $old_quantity, $that ){ // action... }
- $cart_item_key
- -
- $quantity
- -
- $old_quantity
- -
- $that
- -
Где вызывается хук
woocommerce_after_cart_item_quantity_update
woocommerce/includes/class-wc-cart.php 1325
do_action( 'woocommerce_after_cart_item_quantity_update', $cart_item_key, $quantity, $old_quantity, $this );