‘authenticate’ filters…
-
Hi!
You guys seem to remove default filters from WP:
remove_filter( 'authenticate', 'wp_authenticate_username_password', 20 );
remove_filter( 'authenticate', 'wp_authenticate_email_password', 20 );
remove_filter( 'authenticate', 'wp_authenticate_application_password', 20 );And replace it by your own authentication function (
cerber_authenticate
).I need to change the error messages WP displays to the user when the username/email/password is incorrect. I see you guys don’t have any filters to hook into, within that function. The only way would be to remove your authenticate filter (
cerber_authenticate
) and redefine it again.Any way you can consider implementing a filter inside
crb_login_error
, so I can change the error messages to whatever I want?
- The topic ‘‘authenticate’ filters…’ is closed to new replies.