Template::hasTag()

Does this template have given tag?

Available since version 3.0.176.

Usage

$bool = $template->hasTag(string $tag);

Arguments

NameType(s)Description
$tagstring

Return value

bool


Template methods and properties

API reference based on ProcessWire core version 3.0.251