Find the closest parent page matching your selector
This is like $page->parent()
but includes the current Page in the possible pages that can be matched,
and the $selector argument is required.
Usage
$page = $page->closest($selector);
API reference based on ProcessWire core version 3.0.236