Clear only root index file for given Page
Usage
// basic usage
$int = $proCacheStatic->clearPageRoot(Page $page);
// usage with all arguments
$int = $proCacheStatic->clearPageRoot(Page $page, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
page | Page | |
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.236