This filter allows you to adjust or add your own custom comment related template tag to use in log entries. Should be used in combination with the mycred_has_tags filter in order to work.

Available since version 1.0


Param Type Required Description
$content string Yes

The rendered log entry string.

$comment obj No

The WordPress comment object.

$data array No

The value stored in the data column of the log entry.

Used By

Package Prio. Description
mycred/core 10 Used by the myCRED_Settings class.


Example 1: Add a custom comment related template tag that shows the comment authors IP when the comment was posted.