mycred_parse_tags_post

Description

This filter allows you to adjust or add your own custom post 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

Parameters

Param Type Required Description
$content string Yes

The rendered log entry string.

$post obj No

The WordPress post 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.

Examples

Example 1: Add a custom post related template tag showing a posts status in the log entries.