ProcessPageEdit::isAllowedTemplate() method

Is the given template or template ID allowed here?

Usage

$bool = $processPageEdit->isAllowedTemplate($id);

Arguments

NameType(s)Description
idint, Template

Return value

bool


ProcessPageEdit methods and properties

API reference based on ProcessWire core version 3.0.244

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull