Set whether loaded pages have their outputFormatting turned on or off
By default, it is turned on.
Usage
// basic usage
$pagesLoader->setOutputFormatting();
// usage with all arguments
$pagesLoader->setOutputFormatting(bool $outputFormatting = true);
Arguments
Name | Type(s) | Description |
---|---|---|
outputFormatting (optional) | bool |
PagesLoader methods and properties
API reference based on ProcessWire core version 3.0.236