wp_render_elements_class_name
wp_render_elements_class_name ( $block_content, $block )
Parameters:- (string) block_content Rendered block content.
- (array) block Block object.
See:Returns:- (string) Filtered block content.
Defined at: - Introduced in WordPress: 6.6.0
- Deprecated in WordPress: —
Description
Ensure the elements block support class name generated, and added to
block attributes, in the `render_block_data` filter gets applied to the
block's markup.