function wp_login_form( $args = array
() ) { $defaults = array
( 'echo' => true,
// Default 'redirect' value takes the user back to the request URI.
'redirect'
=> ( is_ssl() ? 'https://' : 'http://'
) .
$_SERVER['HTTP_HOST'
] .
$_SERVER['REQUEST_URI'
],
'form_id' => 'loginform',
'label_username' =>
__( 'Username or Email Address'
),
'label_password' =>
__( 'Password'
),
'label_remember' =>
__( 'Remember Me'
),
'label_log_in' =>
__( 'Log In'
),
'id_username' => 'user_login',
'id_password' => 'user_pass',
'id_remember' => 'rememberme',
'id_submit' => 'wp-submit',
'remember' => true,
'value_username' => '',