Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @xpc33

    Participant

    this did the trick. it doesnt need to redirect, but just changes landing page.

    //Set Default Tab to custom
    define('BP_DEFAULT_COMPONENT', 'custom' );
    add_filter( 'bp_is_active', function($retval, $component){
        if($component === 'custom') return true;
        return $retval;
    }, 10, 2 );

    @xpc33

    Participant

    Hi
    thanks but thats not what im trying to achieve. that’s already done with:

    if( !function_exists('custom_user_login_redirect') ) {
    function custom_user_login_redirect() {
    $redirect_to = '/members/me/friends/';
    return $redirect_to;
    }
    add_filter('login_redirect','custom_user_login_redirect',10,3);
    }

    what i want now is to redirect everyone from user dashboard, where there’s something like ‘Latest updates’ straight to another tab, permanent for all users.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar