Clear the cache for multiple pages
Usage
// basic usage
$int = $proCacheStatic->clearPages(PageArray $items);
// usage with all arguments
$int = $proCacheStatic->clearPages(PageArray $items, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
items | PageArray | |
options (optional) | array |
|
Return value
int
array
Quantity or array of files and/or directories that were removed
ProCacheStatic methods and properties
API reference based on ProcessWire core version 3.0.244