Remove blank items like "template=, " from the selector string
Blank items have a use for defaultSelector, but not for actually finding pages.
Usage
$string = $processPageLister->removeBlankSelectors(string $selector);
Arguments
Name | Type(s) | Description |
---|---|---|
selector | string |
Return value
string
ProcessPageLister methods and properties
API reference based on ProcessWire core version 3.0.236