Skip to content

Kirby 4.2.0

$content->not()

Returns a clone of the content object without the fields, specified by the passed key(s)

$content->not(string ...$keys = null): Kirby\Content\Content

Parameters

Name Type Default
... $keys string null

Return type

Kirby\Content\Content

This method does not modify the existing $content object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Content\Content