This filter allows you to adjust the template used by the mycred_list_ranks shortcode when rendering each rank you have setup for a particular point type. While you can set the template when using the shortcode, this filter accomplishes the exact same task.

Available since version 1.1.1


Param Type Required Description
$row_template string Yes

The row template.

$atts array No

The attributes passed to the shortcode.

$mycred obj No

The myCRED object.

Used By

Package Prio. Description
mycred/rank 10 Used by the mycred_list_ranks shortcode.


Example 1: Change the template used when listing ranks via the mycred_list_ranks shortcode to render details with Bootstrap support.