woocommerce_cart_has_errors action-hookWC 1.0

Usage

add_action( 'woocommerce_cart_has_errors', 'wp_kama_woocommerce_cart_has_errors_action' );

/**
 * Function for `woocommerce_cart_has_errors` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_cart_has_errors_action(){

	// action...
}

Where the hook is called

In file: /templates/checkout/cart-errors.php
woocommerce_cart_has_errors
woocommerce/templates/checkout/cart-errors.php 23
<?php do_action( 'woocommerce_cart_has_errors' ); ?>

Where the hook is used in WooCommerce

Usage not found.