Skip to content

Kirby 4.4.1

$block->excerpt()

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

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

Parameters

Name Type Default
... $args mixed null

Return type

string

Parent class

Kirby\Cms\Block