block_core_list_render


block_core_list_render ( $attributes, $content )

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

Description

Adds the wp-block-list class to the rendered list block.Ensures that pre-existing list blocks use the class name on the front. For example,
    is transformed to
      .

Related Functions

block_core_gallery_render, block_core_heading_render, block_core_image_render_lightbox, block_core_page_list_nest_pages, block_core_page_list_render_nested_page_list

Top Google Results

User discussions

wpseek mobile