block_core_heading_render


block_core_heading_render ( $attributes, $content )

Parameters:
  • (array) attributes Attributes of the block being rendered.
  • (string) content Content of the block being rendered.
Returns:
  • (string) The content of the block being rendered.
Defined at:

Description

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

Related Functions

block_core_gallery_render, block_core_image_render_lightbox, register_block_core_heading, render_block_core_read_more, block_core_social_link_get_name

Top Google Results

User discussions

wpseek mobile