register_block_core_post_time_to_read()WP 6.9.0

Registers the core/post-time-to-read block on the server.

No Hooks.

Returns

null. Nothing (null).

Usage

register_block_core_post_time_to_read();

Changelog

Since 6.9.0 Introduced.

register_block_core_post_time_to_read() code WP 6.9.1

function register_block_core_post_time_to_read() {
	register_block_type_from_metadata(
		__DIR__ . '/post-time-to-read',
		array(
			'render_callback' => 'render_block_core_post_time_to_read',
		)
	);
}