This can be used to extend or change the tags in the Helpful Textareas. The keys are always the tags and the values are the values. Helpful replaces the keys with the values.

These tags can then be used in the settings of Helpful, among other things, and are then replaced with the values in the output.

 * Allows you to add your own tags. So you have the possibility to
 * use your tags in the admin area and display them in the text.
 * @param array $tags default tags.
 * @return array
add_filter('helpful_tags', function (array $tags) {
    $tags['{custom}'] = 'My own tag that is replaced in the text.';
    return $tag;
Was this post helpful?