Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved]How to redirect registration page to activity?

@tatakatte

Participant

@henrywright

This one worked well. Now, it’s redirecting to /stream/!

function my_login_redirect() {
    if ( is_user_logged_in() && bp_is_register_page() )
        bp_core_redirect( home_url() . '/stream/' );
}
add_action( 'template_redirect', 'my_login_redirect', 1 );

@bphelp I’m not really sure why it required priority to work, maybe due to a plugin that I’m using?

Skip to toolbar