Skip to content

Kirby 6.0.0

$fieldMethods->inline()

Strips all block-level HTML elements from the field value, it can be safely placed inside of other inline elements without the risk of breaking the HTML structure.

$fieldMethods->inline(): FieldMethods

Return type

Kirby\Content\FieldMethods

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

Parent class

Kirby\Content\FieldMethods