wpseek.com
WordPress开发者和主题制作者的搜索引擎



render_block_core_navigation › WordPress Function

Sincen/a
已弃用n/a
render_block_core_navigation ( $attributes, $content, $block )
参数: (3)
  • (array) $attributes The block attributes.
    Required: Yes
  • (string) $content The saved content.
    Required: Yes
  • (WP_Block) $block The parsed block.
    Required: Yes
返回:
  • (string) Returns the navigation block markup.
定义在:
文档:

Renders the `core/navigation` block on server.



源码

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