A WordPress-centric search engine for devs and theme authors

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

Dimensions block support flag.

Function Short description
wp_apply_dimensions_supportAdds CSS classes for block dimensions to the incoming attributes array.
wp_register_dimensions_supportRegisters the style block attribute for block types that support it.
wp_render_dimensions_supportRenders server-side dimensions styles to the block wrapper.