Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-login.php | apply_filters | 1267 | /** * Filters the login redirect URL. * * @since 3.0.0 * * @param string $redirect_to The redirect destination URL. * @param string $requested_redirect_to The requested redirect destination URL passed as a parameter. * @param WP_User|WP_Error $user WP_User object if login was successful, WP_Error object otherwise. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $redirect_to | The redirect destination URL. |
string | $requested_redirect_to | The requested redirect destination URL passed as a parameter. |
WP_User|WP_Error | $user | WP_User object if login was successful, WP_Error object otherwise. |