register_block_core_navigation_submenu() – Register the navigation submenu block.

You appear to be a bot. Output may be restricted

Description

Register the navigation submenu block.

Usage

register_block_core_navigation_submenu();

Parameters

Returns

void

Source

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

1 to 8 of 8
function register_block_core_navigation_submenu() {
  register_block_type_from_metadata(
    __DIR__ . '/navigation-submenu',
    array(
      'render_callback' => 'render_block_core_navigation_submenu',
    )
  );
}
 

 View on GitHub View on Trac