woocommerce_update_cart_action_cart_updated filter-hookWC 1.0

Trigger action - let 3rd parties update the cart if they need to and update the $cart_updated variable.

Usage

add_filter( 'woocommerce_update_cart_action_cart_updated', 'wp_kama_woocommerce_update_cart_action_updated_filter' );

/**
 * Function for `woocommerce_update_cart_action_cart_updated` filter-hook.
 * 
 * @param  $cart_updated 
 *
 * @return 
 */
function wp_kama_woocommerce_update_cart_action_updated_filter( $cart_updated ){

	// filter...
	return $cart_updated;
}
$cart_updated
-

Where the hook is called

WC_Form_Handler::update_cart_action()
woocommerce_update_cart_action_cart_updated
woocommerce/includes/class-wc-form-handler.php 696
$cart_updated = apply_filters( 'woocommerce_update_cart_action_cart_updated', $cart_updated );

Where the hook is used in WooCommerce

Usage not found.