PagePathHistory::deleteAllPathHistory()

Delete all path history for a given Page or for all pages

Available since version 3.0.178.

Usage

$pagePathHistory->deleteAllPathHistory($page);

Arguments

NameType(s)Description
$pagePage true

If value of this param is boolean true (rather than Page), all paths for all pages are cleared

Exceptions

Method can throw exceptions on error:

  • WireException - if param $page is not of expected type (true or Page)


PagePathHistory methods and properties

API reference based on ProcessWire core version 3.0.253