register_block_core_comments() – Registers the `core/comments` block on the server.

You appear to be a bot. Output may be restricted

Description

Registers the core/comments block on the server.

Usage

register_block_core_comments();

Parameters

Returns

void

Source

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

1 to 9 of 9
function register_block_core_comments() {
  register_block_type_from_metadata(
    __DIR__ . '/comments',
    array(
      'render_callback'   => 'render_block_core_comments',
      'skip_inner_blocks' => true,
    )
  );
}
 

 View on GitHub View on Trac