auth_redirect_scheme filter-hookWP 2.9.0

Filters the authentication redirect scheme.

Usage

add_filter( 'auth_redirect_scheme', 'wp_kama_auth_redirect_scheme_filter' );

/**
 * Function for `auth_redirect_scheme` filter-hook.
 * 
 * @param string $scheme Authentication redirect scheme.
 *
 * @return string
 */
function wp_kama_auth_redirect_scheme_filter( $scheme ){

	// filter...
	return $scheme;
}
$scheme(string)
Authentication redirect scheme.
Default: ''

Changelog

Since 2.9.0 Introduced.

Where the hook is called

auth_redirect()
auth_redirect_scheme
wp-includes/pluggable.php 1210
$scheme = apply_filters( 'auth_redirect_scheme', '' );

Where the hook is used in WordPress

Usage not found.