Project: Blocks

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 programmatically register block templates. This provides a way to define...

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 registered block types. It provides methods to register, unregister, and...

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 metadata, attributes schema, render callback, and asset handles. Block types...

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 parsed block with its attributes prepared for rendering, context resolved...

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 to register using block.json metadata. register_block_type( string|WP_Block_Type $block_type, array $args...

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. apply_filters( 'register_block_type_args', array $args, string $block_type ) Parameters: $args (array)...

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 Core block registration, parsing, and rendering functions class-wp-block.md Parsed block...

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. It implements Iterator, ArrayAccess, and Countable interfaces for convenient traversal....

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 containing block comment delimiters and builds a tree of block...

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 styles for block types. Block styles provide different appearance options...

← Back to Chubes.net