wp_login_url() WP 1.0
Retrieves the login URL.
Is the basis for:
wp_loginout()
Hooks in function
Return
String. The login URL. Not HTML-encoded.
Usage
wp_login_url( $redirect, $force_reauth );
- $redirect(string)
- Path to redirect to on log in.
Default:''
- $force_reauth(true/false)
- Whether to force reauthorization, even if a cookie is present.
Default: false
Code of wp login url:
wp-includes/general-template.php
VER 5.0.3
Related Functions
From category: Login/Logout
More from Template Tags: Main Functions
- bloginfo()
- calendar_week_mod()
- get_bloginfo()
- get_calendar()
- get_current_blog_id()
- get_footer()
- get_header()
- get_search_form()
- get_sidebar()
- get_template_part()
- is_404()
- is_active_sidebar()
- is_admin()
- is_archive()
- is_attachment()
- is_author()
- is_category()