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:

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.

Related Functions

wp_get_elements_class_name, wp_theme_get_element_class_name, wp_should_add_elements_class_name, wp_render_elements_support, wp_render_elements_support_styles

Top Google Results

User discussions

wpseek mobile