rcp_login_redirect_url

This filter allows you to change the redirect URL after a successful login through the [login_form] shortcode.

Parameters:

  • $redirect - The URL to redirect to.
  • $user - WP_User object for the user who's logging in.