PagePaths::getID()

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

Usage

$int = $pagePaths->getID(string $path);

Arguments

NameType(s)Description
$pathstring

Return value

int null


PagePaths methods and properties

API reference based on ProcessWire core version 3.0.257