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
| Name | Type(s) | Description |
|---|---|---|
$tag | string | |
$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