WPDev.one
Core Function
View Source on Trac ↗

render_block_core_post_navigation_link()

render_block_core_post_navigation_link( mixed $attributes, mixed $content )

Renders the `core/post-navigation-link` block on the server.

Parameters 2 required

Name / Type Description
$attributes
array

Block attributes.

Required
$content
string

Block default content.

Required

Return Value

(string)
Returns the next or previous post link that is adjacent to the current post.

Function Information

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