wpseek.com
A WordPress-centric search engine for devs and theme authors



block_core_heading_render › WordPress Function

Since6.2.0
Deprecatedn/a
block_core_heading_render ( $attributes, $content )
Parameters: (2)
  • (array) $attributes Attributes of the block being rendered.
    Required: Yes
  • (string) $content Content of the block being rendered.
    Required: Yes
Returns:
  • (string) The content of the block being rendered.
Defined at:
Codex:

Adds a wp-block-heading class to the heading block content.

For example, the following block content:

Hello World

Would be transformed to:

Hello World



Source

Soon...