logout_redirect

最后更新于:2021-11-27 04:55:07

apply_filters( ‘logout_redirect’, string $redirect_to, string $requested_redirect_to, GC_User $user )

Filters the log out redirect URL.

参数

$redirect_to

(string)
The redirect destination URL.

$requested_redirect_to

(string)
The requested redirect destination URL passed as a parameter.

$user

(GC_User)
The GC_User object for the user that’s logging out.

源文件

文件: gc-login.php

View on Trac