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