Developer Docs
Website
Community
GitHub
Search
⌃
K
Links
Getting started
Tutorials
Framework
Blocks
Callback
Container
Content
Form
Menu
Modal
Part
Section
Template
Toggle
Components
Configurations
Controllers
Emails
Fields
Forms
Menus
Models
Templates
Resources
Code snippets
Code reference
Hook reference
REST API
Powered By
GitBook
Comment on page
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
();
Previous
Container
Next
Form
Last modified
1yr ago