wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_register_core_block_metadata_collection › WordPress Function

Since6.7.0
Deprecatedn/a
wp_register_core_block_metadata_collection ( No parameters )
Defined at:
Codex:

Registers the core block metadata collection.

This function is hooked into the 'init' action with a priority of 9, ensuring that the core block metadata is registered before the regular block initialization that happens at priority 10.


Source

function wp_register_core_block_metadata_collection() {
	wp_register_block_metadata_collection(
		BLOCKS_PATH,
		BLOCKS_PATH . 'blocks-json.php'
	);
}