register_block_core_navigation() – Register the navigation block.

You appear to be a bot. Output may be restricted

Description

Register the navigation block.

Usage

register_block_core_navigation();

Parameters

Returns

void

Source

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

1 to 8 of 8
function register_block_core_navigation() {
  register_block_type_from_metadata(
    __DIR__ . '/navigation',
    array(
      'render_callback' => 'render_block_core_navigation',
    )
  );
}
 

 View on GitHub View on Trac