Block Development

Block Styles

Block styles provide visual variations that users can apply from the block toolbar. Defining Styles in block.json { "styles": [...

Updated March 4, 2026

Block Supports

Block supports enable built-in WordPress features for your block. They add UI controls and automatically handle CSS generation. Basic Usage...

Updated March 4, 2026

Block Transforms

Block transforms allow converting blocks between different types, enabling flexible content editing. Transform Types Type Description block Transform from/to another...

Updated March 4, 2026

Block Variations

Block variations create alternative versions of a block with pre-configured attributes and settings. Basic Variation Define in block.json: { "variations":...

Updated March 4, 2026

Block Scripts and Styles

Block scripts and styles are defined in block.json and automatically registered when the block is registered. Asset Fields Overview Field...

Updated March 4, 2026

Dynamic Blocks

Dynamic blocks render on the server at page load time, allowing blocks to display current data like posts, user info,...

Updated March 4, 2026

Block Hooks (Hooked Blocks)

Block hooks automatically insert blocks at specified positions relative to other blocks, without modifying templates directly. Basic Usage In block.json:...

Updated March 4, 2026

InnerBlocks

InnerBlocks allows blocks to contain other blocks as children, creating nested block structures. Basic Usage import { useBlockProps, InnerBlocks }...

Updated March 4, 2026

Block Development

Guides for developing custom WordPress blocks. Source: Various block-related files in wp-includes/ Topics Topic Description block-json-schema.md block.json schema and fields...

Updated March 4, 2026

block.json Schema Reference

The block.json file is the canonical way to register blocks in WordPress. It defines metadata, assets, and behavior for your...

Updated March 4, 2026

Block Context

Block context allows parent blocks to share data with descendant blocks without prop drilling. How It Works Parent block declares...

Updated March 4, 2026

Block Deprecations and Migrations

Deprecations allow you to update block structure while maintaining backward compatibility with previously saved content. Why Deprecations When you change:...

Updated March 4, 2026
← Back to Chubes.net