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);

	/**
	 * Filter the login URL.
	 *
	 * @since 2.8.0
	 *
	 * @param string $login_url The login URL.
	 * @param string $redirect  The path to redirect to on login, if supplied.
	 */
	return apply_filters( 'login_url', $login_url, $redirect );
}
WP Trac GitHub

Link here