wpseek.com
A WordPress-centric search engine for devs and theme authors



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

Functions4
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_render_spacing_gap_supportRenders the spacing gap support to the block wrapper, to ensure that the CSS variable is rendered in all environments.
wp_skip_spacing_serializationChecks whether serialization of the current block's spacing properties should occur.