Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Global Redirect Question


  • 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)
  • The topic ‘BP Global Redirect Question’ is closed to new replies.
Skip to toolbar