Skip to:
Content
Pages
Categories
Search
Top
Bottom

Call to undefined function bp_is_member()


  • patrick321
    Participant

    @patrick321

    Hello,

    I’m trying to show specific sidebar if user is on profile page.
    Using

    if(bp_is_member()) {
    echo ...
    else {
    echo...
    }

    gives fatal error: Call to undefined function bp_is_member().

    Are there any alternatives or am I doing something wrong?

Viewing 1 replies (of 1 total)

  • Brajesh Singh
    Participant

    @sbrajesh

    hi,
    bp_is_member() is not available in BuddyPress.

    For your task, You should use
    bp_is_user()

    Hope that helps.

    Regards
    Brajesh

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar