Skip to content

Kirby 3.9.8

$content->not()

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

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

Parameters

Name Type Default
... $keys string null

Return type

Kirby\Cms\Content

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

Parent class

Kirby\Cms\Content