PagePaths::getPageID()

Given a page path, return the page ID or 0 if not found.

Available since version 3.0.186.

Usage

$int = $pagePaths->getPageID($path);

Arguments

NameType(s)Description
$pathstring array

Return value

int null


PagePaths methods and properties

API reference based on ProcessWire core version 3.0.252