On this page
apply_filters( 'login_url', string $login_url, string $redirect, bool $force_reauth )
Filters the login URL.
Parameters
$login_urlstring-
The login URL. Not HTML-encoded.
$redirectstring-
The path to redirect to on login, if supplied.
$force_reauthbool-
Whether to force reauthorization, even if a cookie is present.
More Information
login_url is a filter applied to the url returned by the function wp_login_url()
Source
File: wp-includes/general-template.php. View all references
return apply_filters( 'login_url', $login_url, $redirect, $force_reauth );
Related
Used By
| Used By | Description |
|---|---|
| wp_login_url() wp-includes/general-template.php | Retrieves the login URL. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/login_url