Skip to content

Kirby 6.0.0

$fieldMethods->words()

Returns the number of words in the text

$fieldMethods->words(): int

Return type

int

Parent class

Kirby\Content\FieldMethods