custom error message for empty username and password using authenticate filter not working – Woocommerce
I'm trying to override the authenticate to edit the default error message. /** Purposed: Custom Login Error Message Description: This function override the default error message on login form. **/ remove_filter( 'authenticate', 'wp_authenticate_username_password' ); add_filter( 'authenticate', 'custom_authenticate_username_password', 30, 3 );…