Given a Selector string, return the Page objects that match in a PageArray.
Usage
// basic usage
$items = $pagesType->find(string $selectorString);
// usage with all arguments
$items = $pagesType->find(string $selectorString, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
selectorString | string | |
options (optional) | array | Options to modify default behavior:
|
Return value
See Also
PagesType methods and properties
API reference based on ProcessWire core version 3.0.236