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_has_spacing_feature_supportChecks whether the current block type supports the spacing feature requested.
wp_register_spacing_supportRegisters the style block attribute for block types that support it.