wp_apply_custom_classname_support
- %1$s is private and should not be used in themes or plugins directly.
wp_apply_custom_classname_support ( $block_type, $block_attributes )
Access:Parameters:- (WP_Block_Type) block_type Block Type.
- (array) block_attributes Block attributes.
Returns:- (array) Block CSS classes and inline styles.
Defined at: - Introduced in WordPress: 5.6.0
- Deprecated in WordPress: —
Description
Adds the custom classnames to the output.