Core Function
View Source on Trac ↗ wp_register_block_metadata_collection()
wp_register_block_metadata_collection( mixed $path, mixed $manifest ) Registers a block metadata collection.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $path string | The base path in which block files for the collection reside. Required |
| $manifest string | The path to the manifest file for the collection. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
6.7.0
Source File
wp-includes/blocks.php
Advertisement