Predefine the allowed templates, separately from family/auto-detect
Usage
$processPageAdd->setPredefinedTemplates($templates);
Arguments
Name | Type(s) | Description |
---|---|---|
templates | array, WireArray | array of Template objects |
ProcessPageAdd methods and properties
API reference based on ProcessWire core version 3.0.236