secure_auth_redirect WordPress Filter Hook
The secure_auth_redirect hook is used to redirect a user to a secure authentication page if they are not already on one. This is useful for ensuring that sensitive data is not transmitted over an insecure connection.
apply_filters( 'secure_auth_redirect', bool $secure ) #
Filters whether to use a secure authentication redirect.
Parameters
- $secure
(bool)Whether to use a secure authentication redirect. Default false.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |