❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$collection->filter($callback)
Filter the elements in the array by a callback function
$callback
(function)
the callback function
return
($collection)
↑
Toolkit API overview
←
collection::extractValue($item, $field)
→
$collection->filterBy($field [, $operator], $value [, $split])
↓
Back to Toolkit API section
Top