Load total number of children from DB for given page
Available since version 3.0.172.
Usage
$int = $pagesLoader->getNumChildren($page);
Arguments
Name | Type(s) | Description |
---|---|---|
page | int, Page | Page or Page ID |
Return value
int
Exceptions
Method can throw exceptions on error:
WireException
PagesLoader methods and properties
API reference based on ProcessWire core version 3.0.236