On this page
apply_filters( 'secure_auth_redirect', bool $secure )
Filters whether to use a secure authentication redirect.
Parameters
$securebool-
Whether to use a secure authentication redirect. Default false.
Source
File: wp-includes/pluggable.php. View all references
$secure = apply_filters( 'secure_auth_redirect', $secure );
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 |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/secure_auth_redirect