register_block_core_block

Advertisement

Summery Summery

Registers the core/block block.

Syntax Syntax

register_block_core_block()

Source Source

File: wp-includes/blocks/block.php

function register_block_core_block() {
	register_block_type_from_metadata(
		__DIR__ . '/block',
		array(
			'render_callback' => 'render_block_core_block',
		)
	);
}

Advertisement

Advertisement

Leave a Reply