Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



logout_redirect ›

Seit4.2.0
Veraltetn/v
apply_filters( 'logout_redirect', $redirect_to, $requested_redirect_to, $user )
Parameter: (3)
  • (string) $redirect_to The redirect destination URL.
    Erforderlich: Ja
  • (string) $requested_redirect_to The requested redirect destination URL passed as a parameter.
    Erforderlich: Ja
  • (WP_User) $user The WP_User object for the user that's logging out.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the log out redirect URL.





Quellcode

$redirect_to = apply_filters( 'logout_redirect', $redirect_to, $requested_redirect_to, $user );