register_block_core_home_link() – Register the home block

You appear to be a bot. Output may be restricted

Description

Register the home block

Usage

register_block_core_home_link();

Parameters

Returns

void

Source

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

1 to 8 of 8
function register_block_core_home_link() {
  register_block_type_from_metadata(
    __DIR__ . '/home-link',
    array(
      'render_callback' => 'render_block_core_home_link',
    )
  );
}
 

 View on GitHub View on Trac