| 989 | | if ( is_user_admin() ) { |
| 990 | | $scheme = 'logged_in'; |
| 991 | | } else { |
| 992 | | /** |
| 993 | | * Filters the authentication redirect scheme. |
| 994 | | * |
| 995 | | * @since 2.9.0 |
| 996 | | * |
| 997 | | * @param string $scheme Authentication redirect scheme. Default empty. |
| 998 | | */ |
| 999 | | $scheme = apply_filters( 'auth_redirect_scheme', '' ); |
| 1000 | | } |
| | 989 | /** |
| | 990 | * Filters the authentication redirect scheme. |
| | 991 | * |
| | 992 | * @since 2.9.0 |
| | 993 | * |
| | 994 | * @param string $scheme Authentication redirect scheme. Default empty. |
| | 995 | */ |
| | 996 | $scheme = apply_filters( 'auth_redirect_scheme', '' ); |