wp_render_block_style_variation_class_name
- %1$s is private and should not be used in themes or plugins directly.
wp_render_block_style_variation_class_name ( $block_content, $block )
Access: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 variation block support class name generated and added to
block attributes in the `render_block_data` filter gets applied to the
block's markup.