Answer the question
In order to leave comments, you need to log in
How to change the text of the message about the wrong login format?
Good day. How to change the text of the message about the wrong login format? Tried like this, but this filter changes the message about invalid login in general, not the format.
add_filter( 'login_errors', 'filter_function_name_7713' );
function filter_function_name_7713(){
return 'Неверное имя пользователя. Разрешены символы латинского алфавита без пробелов.';
}
Answer the question
In order to leave comments, you need to log in
There is an excellent description of the filter in the documentation
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question