$templatesgetNumPages()

Return the number of pages using the provided Template

Usage

$int = $templates->getNumPages(Template $tpl);

Arguments

NameType(s)Description
$tplTemplate

Template you want to get count for

Return value

int

Total number of pages in use by given Template


$templates methods and properties

API reference based on ProcessWire core version 3.0.251