Skip to content

Kirby 4.5.0

$blocks->not()

Returns a Collection without the given element(s)

$blocks->not(mixed ...$keys = null): Kirby\Cms\Collection

Parameters

Name Type Default Description
... $keys mixed null any number of keys, passed as individual arguments

Return type

Kirby\Cms\Collection

Parent class

Kirby\Cms\Blocks inherited from Kirby\Cms\Collection