Get page (no exclusions) and return raw data from it in a PHP array
Available since version 3.0.172.
Usage
// basic usage
$array = $pagesRaw->get($selector);
// usage with all arguments
$array = $pagesRaw->get($selector, $field = '', $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
selector | string, array, Selectors | |
field (optional) | string, Field, int, array | Field/property name to get or array of them (or omit to get all) |
options (optional) | array, bool | See options for Pages::find
|
Return value
array
PagesRaw methods and properties
API reference based on ProcessWire core version 3.0.236