Given a page path, return the page ID or NULL if not found.
Usage
$int = $pagePaths->getID(string $path);
Arguments
Name | Type(s) | Description |
---|---|---|
path | string |
Return value
int
null
PagePaths methods and properties
API reference based on ProcessWire core version 3.0.244