This filter allows you to return the content of a custom column that you have added using the mycred_log_column_headers filter. This filter is used by both the myCRED_Query_Log class when showing log entries and the myCRED_Export class when exporting. The filter name consists of mycred_log_
followed by the column ID you set.
Param | Type | Required | Description |
---|---|---|---|
$content |
string | Yes | The default column content. If the filter is used by the myCRED_Query_Log class, this will be FALSE while if it is used myCRED_Export class it will be an empty string. |
$entry |
obj | No | The database row object for the entry in question. |
Package | Prio. | Description |
---|---|---|
Not used by any built-in package. |
Example 1: Render the content of a custom column with the id “row-id“.