InputfieldTextTags::addTag()

Add a predefined tag

Usage

// basic usage
$self = $inputfieldTextTags->addTag(string $tag);

// usage with all arguments
$self = $inputfieldTextTags->addTag(string $tag, string $label = '', $language = null);

Arguments

NameType(s)Description
$tagstring
$label (optional)string
$language (optional)Language int string null

Return value

self


InputfieldTextTags methods and properties

API reference based on ProcessWire core version 3.0.253