Get or set template
Available since version 3.0.181.
Usage
// basic usage
$template = $page->template();
// usage with all arguments
$template = $page->template($template = null);
Arguments
API reference based on ProcessWire core version 3.0.236
“…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