Delete all versions across all pages
Usage
// basic usage
$int = $pagesVersions->deleteAllVersions();
// usage with all arguments
$int = $pagesVersions->deleteAllVersions(bool $areYouSure = false);
Arguments
Name | Type(s) | Description |
---|---|---|
areYouSure (optional) | bool | Specify true to indicate you are sure you want to do this |
Return value
int
Quantity of versions deleted
$pagesVersions methods and properties
API reference based on ProcessWire core version 3.0.236