apply_filters( 'bp_login_redirect', string $redirect_to , string $redirect_to_raw , WP_User|WP_Error $user )
Filters the URL to redirect to after login.
Description
Parameters
- $redirect_to
-
The redirect destination URL.
- $redirect_to_raw
-
The requested redirect destination URL passed as a parameter.
- $user
-
WP_User object if login was successful, WP_Error object otherwise.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.7.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.