Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to check if current page is user’s own user page?

  • @jasonqw1

    Participant

    I have checked through the template-tag-reference page but couldn’t find what I want.

    Basically I want to check if the current page (profile, notification, etc…) belong to the current logged in user, and not other registered buddyrpess users.

    Does anyone know how to do that?

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

    Moderator

    bp_is_my_profile() returns a bool.

    @jasonqw1

    Participant

    Thanks it works, the description between that and bp_is_user_profile() was a little confusing to me so I missed it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to check if current page is user’s own user page?’ is closed to new replies.
Skip to toolbar