Un motore di ricerca WordPress per sviluppatori e autori di temi

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

Typography block support flag.

Function Short description
wp_apply_typography_supportAdds 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_valueInternal implementation of CSS clamp() based on available min/max viewport width and min/max font sizes.
wp_get_typography_font_size_valueReturns a font-size value based on a given font-size preset.
wp_get_typography_value_and_unitChecks a string for a unit and value and returns an array consisting of `'value'` and `'unit'`, e.g. array( '42', 'rem' ).
wp_register_typography_supportRegisters the style and typography block attributes for block types that support it.
wp_render_typography_supportRenders typography styles/content to the block wrapper.
wp_typography_get_preset_inline_style_valueGenerates an inline style value for a typography feature e.g. text decoration, text transform, and font style.