Given a Selector string, return the page IDs that match
Available since version 3.0.128.
Usage
// basic usage
$array = $pagesType->findIDs(string $selectorString);
// usage with all arguments
$array = $pagesType->findIDs(string $selectorString, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
selectorString | string | |
options (optional) | array |
Return value
array
See Also
PagesType methods and properties
API reference based on ProcessWire core version 3.0.236