wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



render_block_core_navigation › WordPress Function

Depuisn/a
Dépréciéen/a
render_block_core_navigation ( $attributes, $content, $block )
Paramètres: (3)
  • (array) $attributes The block attributes.
    Requis: Oui
  • (string) $content The saved content.
    Requis: Oui
  • (WP_Block) $block The parsed block.
    Requis: Oui
Retourne:
  • (string) Returns the navigation block markup.
Défini(e) dans:
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 );
}