render_block_core_navigation()WP 1.0

Renders the core/navigation block on server.

No Hooks.

Return

String. Returns the navigation block markup.

Usage

render_block_core_navigation( $attributes, $content, $block );
$attributes(array) (required)
The block attributes.
$content(string) (required)
The saved content.
$block(WP_Block) (required)
The parsed block.

render_block_core_navigation() code WP 6.5.2

function render_block_core_navigation( $attributes, $content, $block ) {
	return WP_Navigation_Block_Renderer::render( $attributes, $content, $block );
}