register_block_core_term_count() │ WP 6.9.0

Registers the core/term-count block on the server.

No Hooks.

Returns

null. Nothing (null).

Usage

register_block_core_term_count();

Changelog

Since 6.9.0 Introduced.

register_block_core_term_count() code WP 7.1.4

function register_block_core_term_count() {
	register_block_type_from_metadata(
		__DIR__ . '/term-count',
		array(
			'render_callback' => 'render_block_core_term_count',
		)
	);
}