ProCache Tweaks
ProCache output tweaks as configured in the ProCache admin Tweaks tab.
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Pro
class also inherits all the methods and properties of: Pro
Common
Name | Return | Summary | |
---|---|---|---|
$procache->tweaks->renderOutputTweaks() $procache->tweaks->renderOutputTweaks(Page $page, string $html) $procache->tweaks->renderOutputTweaks(Page $page, string $html) | int | Insert a Pro | |
$procache->tweaks->renderOutputTweaksCacheOnly() $procache->tweaks->renderOutputTweaksCacheOnly($html) $procache->tweaks->renderOutputTweaksCacheOnly($html) | int | Output tweaks that apply only to the cached file (i.e. not visible except when cache in use) | |
$procache->tweaks->renderOutputTweaksEarly() $procache->tweaks->renderOutputTweaksEarly(Page $page, $html) $procache->tweaks->renderOutputTweaksEarly(Page $page, $html) | int | Render output tweaks before other operations that might manipulate markup |
Additional methods and properties
In addition to the methods and properties above, Pro
API reference based on ProcessWire core version 3.0.252