login_errors filter-hookWC 1.0

Usage

add_filter( 'login_errors', 'wp_kama_login_errors_filter' );

/**
 * Function for `login_errors` filter-hook.
 * 
 * @param  $getMessage 
 *
 * @return 
 */
function wp_kama_login_errors_filter( $getMessage ){

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

Where the hook is called

WC_Form_Handler::process_login()
login_errors
woocommerce/includes/class-wc-form-handler.php 983
wc_add_notice( apply_filters( 'login_errors', $e->getMessage() ), 'error' );

Where the hook is used in WooCommerce

Usage not found.