login_errors, $e->getMessage(

login_errors, $e->getMessage(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('login_errors, $e->getMessage(') is found 1 times:

  • /includes/class-wc-form-handler.php line 1162
    					wp_redirect( wp_validate_redirect( apply_filters( 'woocommerce_login_redirect', $redirect, $user ), wc_get_page_permalink( 'myaccount' ) ) ); // phpcs:ignore
    					exit;
    				}
    			} catch ( Exception $e ) {
    				wc_add_notice( apply_filters( 'login_errors', $e->getMessage() ), 'error' );
    				do_action( 'woocommerce_login_failed' );
    			}
    		}
    	}
    
    	/**