wp_typography_get_css_variable_inline_style
- %1$s is private and should not be used in themes or plugins directly.
- wp_typography_get_css_variable_inline_style is deprecated since version 6.1.0!
Alternative: wp_style_engine_get_styles()
wp_typography_get_css_variable_inline_style ( $attributes, $feature, $css_property )
Access:Parameters:- (array) attributes Block's attributes.
- (string) feature Key for the feature within the typography styles.
- (string) css_property Slug for the CSS property the inline style sets.
See:Returns:- (string) CSS inline style.
Defined at: - Introduced in WordPress: 5.8.0
- Deprecated in WordPress: 6.1.0
Description
Generates an inline style for a typography feature e.g. text decoration,
text transform, and font style.