Find one descendant page matching given selector
This is the same as Pages::findOne()
except that the match is always a descendant of page it is called on.
Available since version 3.0.116.
Example
// Find the most recently modified descendant page
$item = $page->findOne("sort=-modified");
Usage
// basic usage
$page = $page->findOne();
// usage with all arguments
$page = $page->findOne($selector = '', array $options = []);
Arguments
See Also
API reference based on ProcessWire core version 3.0.236