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: - Introduced in WordPress: 6.6.0
- Deprecated in WordPress: —
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 .