Glossary Term
wp_register_block_types_from_metadata_collection()
wp_register_block_types_from_metadata_collection() — Registers all block types from a block metadata collection. This can either reference a previously registered metadata collection or, if the $manifest parameter is provided, register the metadata collection directly within the same function call.
Inputs: $path (string): The absolute base path for the collection ( e.g., WP_PLUGIN_DIR . ‘/my-plugin/blocks/’ ). $manifest (string): Optional. The absolute path to the manifest file containing the metadata collection, in order to register the collection. If this parameter is not provided, the $path parameter must reference a previously registered block metadata collection.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
