$pages→getOneById()
Get one page by ID
This is the same as getById()
with the getOne
option.
Available since version 3.0.186.
Usage
// basic usage
$page = $pages->getOneById(int $id);
// usage with all arguments
$page = $pages->getOneById(int $id, array $options = []);
API reference based on ProcessWire core version 3.0.252