Template::hasTag()
Does this template have given tag?
Available since version 3.0.176.
Usage
$bool = $template->hasTag(string $tag);Arguments
| Name | Type(s) | Description |
|---|---|---|
$tag | string |
Return value
bool
Template methods and properties
API reference based on ProcessWire core version 3.0.252