A WordPress-centric search engine for devs and theme authors

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

Spacing block support flag.

Function Short description
wp_apply_spacing_supportAdd CSS classes for block spacing to the incoming attributes array.
wp_register_spacing_supportRegisters the style block attribute for block types that support it.
wp_skip_spacing_serializationChecks whether serialization of the current block's spacing properties should occur.