wp_should_add_elements_class_name


wp_should_add_elements_class_name ( $block, $options )

Access:
  • private
Parameters:
  • (array) block Block object.
  • (array) options Per element type options e.g. whether to skip serialization.
Returns:
  • (bool) Whether the block needs an elements class name.
Defined at:

Description

Determines whether an elements class name should be added to the block.

Related Functions

wp_get_elements_class_name, wp_render_elements_class_name, wp_theme_get_element_class_name, _wp_get_presets_class_name, wp_dashboard_events_news

Top Google Results

User discussions

wpseek mobile