Project Type: WordPress Reference

generated-classname.php — Generated Class Name Block Support

Generates the default wp-block-{name} CSS class for server-rendered blocks. Source: wp-includes/block-supports/generated-classname.php Since: 5.6.0 Support Key supports.className — defaults to true. Functions wp_get_block_default_classname() function wp_get_block_default_classname( string $block_name ): string Since: 5.6.0...

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:...

aria-label.php — ARIA Label Block Support

Registers the ariaLabel block attribute and applies the aria-label HTML attribute. Source: wp-includes/block-supports/aria-label.php Since: 6.8.0 Support Key supports.ariaLabel Registered Attribute Attribute Type ariaLabel string Functions wp_register_aria_label_support() function wp_register_aria_label_support( WP_Block_Type $block_type...

background.php — Background Block Support

Registers background image support and renders background styles via render_block filter. Source: wp-includes/block-supports/background.php Since: 6.4.0 Support Key supports.background — top-level boolean/object supports.background.backgroundImage — checked for render output Registered Attribute Attribute...

block-style-variations.php — Block Style Variation Support

Enables per-section styling of blocks via block style variations defined in theme.json. Source: wp-includes/block-supports/block-style-variations.php Since: 6.6.0 Support Key Registered as block-style-variation with an empty config array. Variations are detected via...

Block Supports Subsystem

The block supports subsystem provides server-side rendering of block-level design features (colors, typography, spacing, etc.) by registering attributes, generating CSS classes/inline styles, and injecting them into block markup. Source: wp-includes/block-supports/...

block-visibility.php — Block Visibility Support

Allows blocks to be hidden on the front-end by returning empty content when visibility is set to false. Source: wp-includes/block-supports/block-visibility.php Since: 6.9.0 Support Key supports.visibility — defaults to true when...

align.php — Alignment Block Support

Registers the align block attribute and applies alignment CSS classes. Source: wp-includes/block-supports/align.php Since: 5.6.0 Support Key supports.align When a block declares "align": true (or an array of allowed values) in...

Requests Library Overview

The Requests library is an HTTP client for PHP, bundled with WordPress. It provides a clean API for making HTTP requests with support for multiple transports, cookies, authentication, proxies, and...

← Back to Chubes.net