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:

Description

Retrieves the login URL.

Related Functions

wp_login, wp_login_form, wp_logout_url, plugins_url, wp_loginout

Top Google Results

User discussions

wpseek mobile