$page


Built-in Methods Reference

$page->parentsUntil($selector, $filter)

Introduced in Version 2.0

Description

Return all parents from current till the one matched by $selector. $selector May either be a selector string or Page to stop at. Results will not include this. $filter Optional selector string to filter matched pages by

Related

Post Comment