mycred_bp_leaderboard_{$column_id}_column

Description

This filter allows you to render the contents of a custom leaderboard column in the myCRED BP Group Leaderboards plugin.

Available since version 1.1

Parameters

Param Type Required Description
$content string Yes

The column content as a string.

$row obj No

The leaderboard row object.

$group_id int No

The current BuddyPress Group ID.

$point_type string No

The myCRED point type key the leaderboard is based on.

Used By

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

Examples

Example 1: Render the content of a custom leaderboard column we created with the ID “avatar“.