Check if ( is_my_profile )
I want to put the blog_signup_form directly on the profile page if the user hasn’t registered a blog yet. That is relatively easy to do, but it then shows up on other users’ profiles as well -> it should only show up on the user’s own profile.
Is there a check like if ( is_my_profile() ) ?
Something with function bp_loggedin_user_id perhaps, like if (bp_loggedin_user_id()) = profile_id ?
This seems to do the trick:
- The topic ‘Check if ( is_my_profile )’ is closed to new replies.