Block Library
The Block Library package contains a collection of custom WordPress blocks designed to extend the editing experience and provide advanced layout and content options. Each block is documented with usage instructions, available properties, and extensibility hooks.
Last modified: June 2, 2025
Features
- A curated set of reusable blocks for content creation.
- Consistent API and extensibility across all blocks.
- Accessibility and SEO best practices built-in.
- Integration with WordPress core and custom extensions.
Extending Blocks
You can extend or customize blocks using WordPress filters and actions.
Refer to each block’s README for available hooks.
Hooks
Map block settings to config variables.
apply_filters( 't2/blocks/block_settings_mapping', array $mapping )
Parameter | Type | Description |
---|---|---|
$mapping |
array |
Array of block name to config variable mapping. |