register_block_core_post_excerpt()WP 1.0

Registers the core/post-excerpt block on the server.

Хуков нет.

Возвращает

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

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

register_block_core_post_excerpt();

Код register_block_core_post_excerpt() WP 6.5.2

function register_block_core_post_excerpt() {
	register_block_type_from_metadata(
		__DIR__ . '/post-excerpt',
		array(
			'render_callback' => 'render_block_core_post_excerpt',
		)
	);
}