mycred_bp_rank_in_profile

Codex / mycred/rank / Filters / mycred_bp_rank_in_profile

Description

This filter allows you to adjust the way ranks are rendered in the BuddyPress user profile (if used).

Available since version 1.4

Parameters

Param Type Required Description
$content string Yes

The rendered HTML elements.

$user_id int No

The user ID of the profile where the ranks are being rendered.

$buddypress obj No

The BuddyPress module class object.

Used By

Package Prio. Description
Not used by any built-in package.

Example

Example 1: Only show the users rank title without any extra HTML elements in their profile header.

Last edited June 24, 2016