🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
Upgrade your v2 license now
.
$pages->flip()
Returns the collection in reverse order
return
($pages)
Example
<?php $articles = $page->children()->flip() ?>
↑
Cheat Sheet overview
←
$pages->first()
→
$pages->get($key, $default = null)
↓
Back to Cheat Sheet section
Top