Customize label for login form

To customize default label for login form, edit and put following code to your functions.php file:

add_filter( 'user_meta_default_login_form', 'user_meta_default_login_form_function' );
function user_meta_default_login_form_function( $config ){
    $config['login_label']  = "Your desire text for login input";
    $config['pass_label']   = "Your desire text for password input";
    $config['remember_label'] = "Your desire text for rember me checkbox";
    $config['button_value'] = "Your desire text for login button";
 
    return $config;
}

Leave a Reply

Subscribe to our newsletter