Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

    Participant

    OK, I found the WP user role conditional:

    `if(user_can($user->ID, “user_role_name”))`

    But I need it to be “current profile user role” and not the user browsing. This doesn’t work:

    `if(user_can($bp->profile->id, “store_owner”))`

    But I still feel like I’m on the right track here… Any thoughts?

    @peterpevensie

    Participant

    Hi,

    Did you ever get this figured out? I’ve been trying to do the exact same thing.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar