Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Global Redirect Question

  • Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    I’m trying to redirect logged-in users to site.com/activity when they try and visit the “home” page. Here’s the code for redirecting them to their profile page”

    `wp_redirect( $bp->loggedin_user->domain )`

    How can I change that to redirect to the activity component? I tried a few things, including this, but I can’t get it to work.

    wp_redirect( $bp->root_components->activity )`

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.