Field::getTags() method
Get tags
Available since version 3.0.106.
Usage
// basic usage
$array = $field->getTags();
// usage with all arguments
$array = $field->getTags($getString = false);
Arguments
Name | Type(s) | Description |
---|---|---|
$getString (optional) | bool string | Optionally specify true for space-separated string, or delimiter string Default:false |
Return value
array
string
Returns array of tags unless $getString option is requested
API reference based on ProcessWire core version 3.0.251