wp_login_url
wp_login_url ( $redirect = '', $force_reauth = false )
Parameters:- (string) redirect Path to redirect to on log in.
- (bool) force_reauth Whether to force reauthorization, even if a cookie is present. Default false.
Returns:- (string) The login URL. Not HTML-encoded.
Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Retrieves the login URL.