A WordPress-centric search engine for devs and theme authors

wp-includes/block-supports/typography.php › WordPress File

Typography block support flag.

Function Short description
wp_apply_typography_supportAdd 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.
wp_register_typography_supportRegisters the style and typography block attributes for block types that support it.
wp_typography_get_css_variable_inline_styleGenerates an inline style for a typography feature e.g. text decoration, text transform, and font style.