register_block_core_block() – Registers the `core/block` block.

You appear to be a bot. Output may be restricted

Description

Registers the core/block block.

Usage

register_block_core_block();

Parameters

Returns

void

Source

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

1 to 8 of 8
function register_block_core_block() {
  register_block_type_from_metadata(
    __DIR__ . '/block',
    array(
      'render_callback' => 'render_block_core_block',
    )
  );
}
 

 View on GitHub View on Trac