Content

This block type renders the provided text or HTML content.

Parameters

  • content - text or HTML content to output.

Example

The code below outputs the "Hello World!" text.

echo ( new HivePress\Blocks\Content(
	[
		'content' => 'Hello World!',
	]
) )->render();

Last updated