auth_redirect_scheme
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
wp-includes/pluggable.php 1210
$scheme = apply_filters( 'auth_redirect_scheme', '' );