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_supportAdd 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_skip_dimensions_serializationChecks whether serialization of the current block's dimensions properties should occur.