register_block_core_comment_author_name()WP 1.0

Registers the core/comment-author-name block on the server.

Хуков нет.

Возвращает

null. Ничего.

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

register_block_core_comment_author_name();

Код register_block_core_comment_author_name() WP 6.0.2

function register_block_core_comment_author_name() {
	register_block_type_from_metadata(
		__DIR__ . '/comment-author-name',
		array(
			'render_callback' => 'render_block_core_comment_author_name',
		)
	);
}