ProCacheStatic::clearPageUrlSegments()
Clear only URL segment(s) for page (optionally specifying which ones)
Usage
// basic usage
$int = $proCacheStatic->clearPageUrlSegments(Page $page);
// usage with all arguments
$int = $proCacheStatic->clearPageUrlSegments(Page $page, $urlSegments = true, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
$page | Page | |
$urlSegments (optional) | string array bool | Specify any one of the following:
|
$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.251