Codex / mycred/log / Filters / mycred_log_row_classes


This filter allows you to adjust, add or remove CSS classes for each table row when viewing the log.

Available since version 1.4


Param Type Required Description
$classes array Yes

Array of CSS classes.

$entry obj No

The log entry object.

Used By

Package Prio. Description
mycred/log 10 Used by the log query class.


Example 1: Add custom CSS classes indicating if the entry value is positive or negative.

Last edited August 5, 2016