PagesLoaderCache::cacher method
Remove all pages from the cache
Usage
// basic usage
$int = $pages->cacher->uncacheAll();
// usage with all arguments
$int = $pages->cacher->uncacheAll($page = null, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
$page (optional) | Page null | Optional Page that initiated the uncacheAll |
$options (optional) | array | Additional options to modify behavior:
|
Return value
int
Number of pages uncached
$pages->cacher methods and properties
API reference based on ProcessWire core version 3.0.252