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

NameType(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


$field methods and properties

API reference based on ProcessWire core version 3.0.251