mycred_label

Codex / mycred/core / Filters / mycred_label

Description

This filter allows you to change the value of the MYCRED_DEFAULT_LABEL constant, re-naming  the myCRED plugin. While it is recommended to use the constant to change the label, this filter is a better solution when the constant can not be used, e.g. when re-naming the plugin via another plugin.

Available since version 1.1

Parameters

Param Type Required Description
$label string Yes

The MYCRED_DEFAULT_LABEL value.

Example

Example 1: Change the myCRED plugin name to SuperPoints.

Last edited June 26, 2016