Un motore di ricerca WordPress per sviluppatori e autori di temi



login_redirect ›

Da3.0.0
Deprecaton/a
apply_filters( 'login_redirect', $redirect_to, $requested_redirect_to, $user )
Parametri: (3)
  • (string) $redirect_to The redirect destination URL.
    Richiesto:
  • (string) $requested_redirect_to The requested redirect destination URL passed as a parameter.
    Richiesto:
  • (WP_User|WP_Error) $user WP_User object if login was successful, WP_Error object otherwise.
    Richiesto:
Definito a:
Codex:

Filters the login redirect URL.





Sorgenti

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