Skip to content

Kirby 4.4.1

$blocks->excerpt()

Converts the blocks to HTML and then uses the Str::excerpt method to create a non-formatted, shortened excerpt from it

$blocks->excerpt(mixed ...$args = null): string

Parameters

Name Type Default
... $args mixed null

Return type

string

Parent class

Kirby\Cms\Blocks