apply_filters( 'bp_core_login_redirect', bool $value , string $redirect_to , string $redirect_to_raw , WP_User $user )
Filters whether or not to redirect.
Description
Allows plugins to have finer grained control of redirect upon login.
Parameters
- $value
-
(bool) Whether or not to redirect.
- $redirect_to
-
(string) Sanitized URL to be redirected to.
- $redirect_to_raw
-
(string) Unsanitized URL to be redirected to.
- $user
-
(WP_User) The WP_User object corresponding to a successfully logged in user.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.6.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.