Filter: sensei_login_success_redirect_url

apply_filters( 'sensei_login_success_redirect_url', $referrer ) → {string}

Change the redirect url programatically.

The redirect URL if login is successful. Note that if this URL points to an external domain, it may need to be whitelisted using the allowed_redirect_hosts filter.

Parameters:
Name Type Description
$referrer string

The page where the current url wheresensei login form was posted from.

Since:
  • 3.15.0
Source:
Returns:

The redirect URL.

Type
string