Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-members/bp-members-signup.php

    r5143 r5236  
    2424    if ( is_user_logged_in() ) {
    2525        if ( bp_is_component_front_page( 'register' ) )
    26             bp_core_redirect( bp_get_root_domain() . '/' . bp_get_members_root_slug() );
     26            $redirect_to = bp_get_root_domain() . '/' . bp_get_members_root_slug();
    2727        else
    28             bp_core_redirect( bp_get_root_domain() );
     28            $redirect_to = bp_get_root_domain();
     29
     30        bp_core_redirect( apply_filters( 'bp_loggedin_register_page_redirect_to', $redirect_to ) );
    2931
    3032        return;
Note: See TracChangeset for help on using the changeset viewer.