Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Remove add_friend button

@mika89

Participant

Your code is working like a charm thank you 🙂
But you must be right about the get_user_meta cause your code also remove the button from members who are not supposed to be “inactive”. How can I retrieve the role of a member ? Like if he’s an administrator, i want to get the string “administrator”.

Thanks !

Skip to toolbar