Core Function
View Source on Trac ↗ block_core_heading_render()
block_core_heading_render( mixed $attributes, mixed $content ) Adds a wp-block-heading class to the heading block content.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $attributes array | Attributes of the block being rendered. Required |
| $content string | Content of the block being rendered. Required |
Return Value
(string)
The content of the block being rendered.
Function Information
Since Version
6.2.0
Source File
wp-includes/blocks/heading.php
Advertisement