register_block_core_post_comments() – Registers the `core/post-comments` block on the server.

You appear to be a bot. Output may be restricted

Description

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

Usage

register_block_core_post_comments();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/blocks/post-comments.php


Lines:

1 to 9 of 9
function register_block_core_post_comments() {
  register_block_type_from_metadata(
    __DIR__ . '/post-comments',
    array(
      'render_callback' => 'render_block_core_post_comments',
    )
  );
}
 

 View on GitHub View on Trac