mycred_log_row_classes
Description
This filter allows you to adjust, add or remove CSS classes for each table row when viewing the log.
Available since version 1.4
Parameters
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. |
Examples
Example 1: Add custom CSS classes indicating if the entry value is positive or negative.