PageTraversal::siblings()
Return this Page's sibling pages, optionally filtered by a selector.
Note that the siblings include the current page. To exclude the current page, specify "id!=$page".
Usage
// basic usage
$items = $pageTraversal->siblings(Page $page);
// usage with all arguments
$items = $pageTraversal->siblings(Page $page, string $selector = '');PageTraversal methods and properties
API reference based on ProcessWire core version 3.0.255