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.


Parameters Parameters

$redirect_to

(string) The redirect destination URL.

$redirect_to_raw

(string) The requested redirect destination URL passed as a parameter.

$user

(WP_User|WP_Error) WP_User object if login was successful, WP_Error object otherwise.


Source Source

File: bp-core/bp-core-dependency.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.