register_block_core_navigation_submenu()WP 1.0

Register the navigation submenu block.

No Hooks.

Return

null. Nothing.

Usage

register_block_core_navigation_submenu();

Code of register_block_core_navigation_submenu() WP 6.1.1

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