register_block_core_heading()WP 1.0

Registers the core/heading block on server.

Хуков нет.

Возвращает

null. Ничего (null).

Использование

register_block_core_heading();

Код register_block_core_heading() WP 6.5.5

function register_block_core_heading() {
	register_block_type_from_metadata(
		__DIR__ . '/heading',
		array(
			'render_callback' => 'block_core_heading_render',
		)
	);
}