wp_render_block_style_variation_class_name


wp_render_block_style_variation_class_name ( $block_content, $block )

Access:
  • private
Parameters:
  • (string) block_content Rendered block content.
  • (array) block Block object.
See:
Returns:
  • (string) Filtered block content.
Defined at:

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.

Related Functions

wp_create_block_style_variation_instance_name, wp_render_block_style_variation_support_styles, wp_enqueue_block_style_variation_styles, wp_get_block_style_variation_name_from_class, wp_resolve_block_style_variation_ref_values

Top Google Results

User discussions

wpseek mobile