render_block_core_navigation()
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() 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 ); }