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



login_redirect › WordPress Filter Hooks

Seit3.0.0
Veraltetn/v
apply_filters( 'login_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|WP_Error) $user WP_User object if login was successful, WP_Error object otherwise.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the login redirect URL.





Quellcode

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