WPDev.one
Core Function
View Source on Trac ↗

render_block_core_navigation_link()

render_block_core_navigation_link( mixed $attributes, mixed $content, mixed $block )

Renders the `core/navigation-link` block.

Parameters 3 required

Name / Type Description
$attributes
array

The block attributes.

Required
$content
string

The saved content.

Required
$block
WP_Block

The parsed block.

Required

Return Value

(string)
Returns the post content with the legacy widget added.

Function Information

Since Version
5.9.0
Source File
wp-includes/blocks/navigation-link.php
Advertisement