This block type renders the provided text or HTML content.
content - text or HTML content to output.
The code below outputs the "Hello World!" text.
echo ( new HivePress\Blocks\Content( [ 'content' => 'Hello World!', ] ) )->render();
Last updated 3 years ago