mycred_bp_leaderboard_columns
Description
This filter allows you to adjust the leaderboard table columns that the myCRED BP Group Leaderboards plugin creates.
Available since version 1.0
Parameters
Param | Type | Required | Description |
---|---|---|---|
$columns |
array | Yes | An associative array of column IDs and their labels. |
Default columns:
Column ID | Description |
---|---|
position |
The users leaderboard position. |
member |
The group member. |
balance |
The point value. |
Used By
Package | Prio. | Description |
---|---|---|
Not used by any built-in package. |
Examples
Example 1: Rename the position column to “Rank“ in BP Group Leaderboards.
Example 2: Re-order the leaderboard columns.
Example 3: Add a custom column called “Avatar“ for leaderboards.