secure_auth_redirect filter-hookWP 3.1.0

Filters whether to use a secure authentication redirect.

Usage

add_filter( 'secure_auth_redirect', 'wp_kama_secure_auth_redirect_filter' );

/**
 * Function for `secure_auth_redirect` filter-hook.
 * 
 * @param bool $secure Whether to use a secure authentication redirect.
 *
 * @return bool
 */
function wp_kama_secure_auth_redirect_filter( $secure ){

	// filter...
	return $secure;
}
$secure(true|false)
Whether to use a secure authentication redirect.
Default: false

Changelog

Since 3.1.0 Introduced.

Where the hook is called

auth_redirect()
secure_auth_redirect
wp-includes/pluggable.php 1180
$secure = apply_filters( 'secure_auth_redirect', $secure );

Where the hook is used in WordPress

Usage not found.