Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: ivette manzur : Need help with S2MEMBERS

@rogercoathup

Participant

That’s more of an s2member question than a BuddyPress one – so, better asked on their forums.

Anyway:

In your PHP template for displaying the user, you can add the following code:

echo get_user_field('s2member_access_label', $user_id);

and to get the $user_id for the displayed user, you can use:

global $bp;
$user_id = $bp->displayed_user->id;
Skip to toolbar