On this page
apply_filters( 'auth_redirect_scheme', string $scheme )
Filters the authentication redirect scheme.
Parameters
$schemestring-
Authentication redirect scheme. Default empty.
Source
File: wp-includes/pluggable.php. View all references
$scheme = apply_filters( 'auth_redirect_scheme', '' );
Related
Used By
| Used By | Description |
|---|---|
| auth_redirect() wp-includes/pluggable.php | Checks if a user is logged in, if not it redirects them to the login page. |
Changelog
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/auth_redirect_scheme