register_block_core_image() – Registers the `core/image` block on server.

You appear to be a bot. Output may be restricted

Description

Registers the core/image block on server.

Usage

register_block_core_image();

Parameters

Returns

void

Source

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

1 to 8 of 8
function register_block_core_image() {
  register_block_type_from_metadata(
    __DIR__ . '/image',
    array(
      'render_callback' => 'render_block_core_image',
    )
  );
}
 

 View on GitHub View on Trac