mycred_bp_rank_in_header
Description
This filter allows you to adjust the way ranks are rendered in the BuddyPress user profile header (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. |
Examples
Example 1: Only show the users rank title without any extra HTML elements in their profile header.