Project Type: WordPress Reference

position.php — Position Block Support

Handles sticky and fixed positioning for blocks. Source: wp-includes/block-supports/position.php Since: 6.2.0 Support Key supports.position Position types are gated by global theme settings (not just block support): settings.position.sticky must be true...

settings.php — Block Level Presets Support

Allows blocks to override theme preset CSS variables and classes at the block level. Source: wp-includes/block-supports/settings.php Since: 6.2.0 Support Key supports.__experimentalSettings Block Attributes Read $block['attrs']['settings'] — A theme.json-compatible settings object...

shadow.php — Shadow Block Support

Registers shadow support and applies box-shadow inline styles. Source: wp-includes/block-supports/shadow.php Since: 6.3.0 Support Key supports.shadow Registered Attributes Attribute Type Note style object Only set if style key already exists (appears...

spacing.php — Spacing Block Support

Handles padding and margin styles for blocks. Source: wp-includes/block-supports/spacing.php Since: 5.8.0 Note: This remains separate from dimensions.php for backwards compatibility, even though both appear under the "Dimensions" panel in the...

typography.php — Typography Block Support

The second-largest block support file. Handles font size (including fluid/responsive), font family, font style/weight, line height, text alignment, text columns, text decoration, text transform, letter spacing, writing mode, and fit...

utils.php — Block Support Utility Functions

Shared utility functions used across block support files. Source: wp-includes/block-supports/utils.php Since: 6.0.0 Functions wp_should_skip_block_supports_serialization() function wp_should_skip_block_supports_serialization( WP_Block_Type $block_type, string $feature_set, ?string $feature = null ): bool Since: 6.0.0 Access: private...

border.php — Border Block Support

Registers border-related attributes and generates CSS classes/inline styles for border properties. Source: wp-includes/block-supports/border.php Since: 5.8.0 Support Key supports.__experimentalBorder Can be set to true (all border features) or an object with...

colors.php — Color Block Support

Registers color-related attributes and generates CSS classes/inline styles for text, background, and gradient colors. Source: wp-includes/block-supports/colors.php Since: 5.6.0 Support Key supports.color Can be true (all color features) or an object:...

custom-classname.php — Custom Class Name Block Support

Allows users to add custom CSS class names to blocks. Source: wp-includes/block-supports/custom-classname.php Since: 5.6.0 Support Key supports.customClassName — defaults to true. Registered Attribute Attribute Type className string Functions wp_register_custom_classname_support() function...

dimensions.php — Dimensions Block Support

Handles dimension-related styles including minHeight and aspectRatio. Source: wp-includes/block-supports/dimensions.php Since: 5.9.0 Note: This does NOT include the spacing support (padding/margin) even though both appear under the "Dimensions" panel in the...

← Back to Chubes.net