Returns the Log In URL.

Returns the URL that allows the user to log in to the site

Signature

wp_login_url( $redirect = '', $force_reauth = false )
redirect
 (string) Path to redirect to on login.
Default: ''
force_reauth
 (boolean) Whether to force reauthorization, even if a cookie is present. Default is false.
Default: false

Return

(string) A log in URL.

Source

function wp_login_url($redirect = '', $force_reauth = false) {
	$login_url = site_url('wp-login.php', 'login');

	if ( !empty($redirect) )
		$login_url = add_query_arg('redirect_to', urlencode($redirect), $login_url);

	if ( $force_reauth )
		$login_url = add_query_arg('reauth', '1', $login_url);

	return apply_filters('login_url', $login_url, $redirect);
}
WP Trac GitHub Bitbucket

Link here