BP Global Redirect Question
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 )`
You must be logged in to reply to this topic.