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.


Top ↑

Source

File: wp-includes/pluggable.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More