wp_should_add_elements_class_name
- %1$s is private and should not be used in themes or plugins directly.
wp_should_add_elements_class_name ( $block, $options )
Access: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: - Introduced in WordPress: 6.6.0
- Deprecated in WordPress: —
Description
Determines whether an elements class name should be added to the block.