Rebuild all paths table starting with $page and descending to its children
Available since version 3.0.186.
Usage
// basic usage
$int = $pagePaths->rebuild();
// usage with all arguments
$int = $pagePaths->rebuild($page = null);
Arguments
Name | Type(s) | Description |
---|---|---|
page (optional) | Page, null | Page to start rebuild from or omit to rebuild all |
Return value
int
Number of paths added
PagePaths methods and properties
API reference based on ProcessWire core version 3.0.236