PagesType::addTemplates()
Add one or more templates that this PagesType represents
Usage
$pagesType->addTemplates($templates);Arguments
| Name | Type(s) | Description |
|---|---|---|
$templates | array int string | Single or array of Template objects, IDs, or names |
PagesType methods and properties
API reference based on ProcessWire core version 3.0.252