register_block_core_latest_comments

Advertisement

Summery Summery

Registers the core/latest-comments block.

Syntax Syntax

register_block_core_latest_comments()

Source Source

File: wp-includes/blocks/latest-comments.php

function register_block_core_latest_comments() {
	register_block_type_from_metadata(
		__DIR__ . '/latest-comments',
		array(
			'render_callback' => 'render_block_core_latest_comments',
		)
	);
}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.