wpseek.com
A WordPress-centric search engine for devs and theme authors



render_block_core_navigation › WordPress Function

Since5.9.0
Deprecatedn/a
render_block_core_navigation ( $attributes, $content, $block )
Parameters: (3)
  • (array) $attributes The block attributes.
    Required: Yes
  • (string) $content The saved content.
    Required: Yes
  • (WP_Block) $block The parsed block.
    Required: Yes
Returns:
  • (string) Returns the navigation block markup.
Defined at:
Codex:

Renders the `core/navigation` block on server.



Source

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