wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/block-supports/typography.php › WordPress File
Functions7
› Typography block support flag.
Function | Short description |
---|---|
wp_apply_typography_support | 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. |
wp_get_computed_fluid_typography_value | Internal implementation of CSS clamp() based on available min/max viewport width and min/max font sizes. |
wp_get_typography_font_size_value | Returns a font-size value based on a given font-size preset. |
wp_get_typography_value_and_unit | Checks a string for a unit and value and returns an array consisting of `'value'` and `'unit'`, e.g. array( '42', 'rem' ). |
wp_register_typography_support | Registers the style and typography block attributes for block types that support it. |
wp_render_typography_support | Renders typography styles/content to the block wrapper. |
wp_typography_get_preset_inline_style_value | Generates an inline style value for a typography feature e.g. text decoration, text transform, and font style. |