Hi Ihor, I would like to know if the following is ok to add the language parameter to the login form:
<input type=”hidden” name=”my_current_lang” value=”(“es”= apply_filters( ‘wpml_current_language’, NULL );
if (“es”) {
AJAX_URL = add_query_arg( ‘wpml_lang’, “es”, ‘AJAX_URL’ );
})” />
where “es” is the Spanish language code.