woocommerce_before_checkout_form_cart_notices

woocommerce_before_checkout_form_cart_notices

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_before_checkout_form_cart_notices') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-checkout.php line 343
    	 * Show the checkout.
    	 */
    	private static function checkout() {
    		// Show non-cart errors.
    		do_action( 'woocommerce_before_checkout_form_cart_notices' );
    
    		// Check cart has contents.
    		if ( WC()->cart->is_empty() && ! is_customize_preview() && apply_filters( 'woocommerce_checkout_redirect_empty_cart', true ) ) {
    			return;
    		}
    
    

See this hook used in plugins: