[ Close ] Introducing Carbon Fields Version 3 - now with Gutenberg Blocks Support

Documentation

Documentation > Fields > Html

HTML

Render custom HTML markup.

Setup methods

set_html($html)

Set the HTML markup you would like to show to $html.

Field::make("html", "crb_information_text")
    ->set_html('<h2>Lorem ipsum</h2><p>Quisque mattis ligula.</p>')

Excited about Carbon Fields? Spread the word!