Blocks
Blocks API Functions
Public functions for block registration, parsing, rendering, and utilities. Block Registration register_block_type() Registers a block type. The recommended way is...
Blocks API Hooks
Actions and filters for the WordPress Blocks API. Block Registration Filters register_block_type_args Filters the arguments for registering a block type....
WP_Block_Type_Registry
Core class for interacting with registered block types. Since: 5.0.0 Source: wp-includes/class-wp-block-type-registry.php Description WP_Block_Type_Registry is a singleton that stores all...
WP_Block_Type
Core class representing a block type definition. Since: 5.0.0 Source: wp-includes/class-wp-block-type.php Description WP_Block_Type defines a registered block type with its...
WP_Block
Class representing a parsed instance of a block ready for rendering. Since: 5.5.0 Source: wp-includes/class-wp-block.php Description WP_Block represents a single...
WP_Block_Templates_Registry
Core class for interacting with registered templates. Since: 6.7.0 Source: wp-includes/class-wp-block-templates-registry.php Description WP_Block_Templates_Registry is a singleton that allows plugins to...
WP_Block_Parser
Parses a document and constructs a list of parsed block objects. Since: 5.0.0 Source: wp-includes/class-wp-block-parser.php Description WP_Block_Parser tokenizes HTML content...
WP_Block_Styles_Registry
Class used for interacting with block styles. Since: 5.3.0 Source: wp-includes/class-wp-block-styles-registry.php Description WP_Block_Styles_Registry is a singleton that manages alternative visual...
WP_Block_Supports
Class encapsulating and implementing Block Supports. Since: 5.6.0 Source: wp-includes/class-wp-block-supports.php Description WP_Block_Supports is a singleton that registers and applies block...
WP_Block_Template
Class representing a block template. Since: 5.8.0 Source: wp-includes/class-wp-block-template.php Description WP_Block_Template represents a full-page template or template part built with...
Blocks API
Framework for registering, parsing, and rendering block-based content in WordPress. Since: 5.0.0 Source: wp-includes/blocks.php, wp-includes/block-editor.php, wp-includes/class-wp-block*.php Components Component Description functions.md...
WP_Block_List
Class representing a list of block instances. Since: 5.5.0 Source: wp-includes/class-wp-block-list.php Description WP_Block_List is an iterable collection of WP_Block instances....