wp_apply_typography_support
- %1$s is private and should not be used in themes or plugins directly.
wp_apply_typography_support ( $block_type, $block_attributes )
Access:Parameters:- (WP_Block_Type) block_type Block type.
- (array) block_attributes Block attributes.
Returns:- (array) Typography CSS classes and inline styles.
Defined at:Change Log: - Introduced in WordPress: 5.6.0
- Deprecated in WordPress: —
Description
Adds CSS classes and inline styles for typography features such as font sizes
to the incoming attributes array. This will be applied to the block markup in
the front-end.