WPDev.one
Core Function
View Source on Trac ↗

get_posts_nav_link()

get_posts_nav_link( mixed $args = array() )

Retrieves the post pages link navigation for previous and next pages.

Parameters 1 required

Name / Type Description
mixed

(string | array) $args { Optional. Arguments to build the post pages link navigation.

Required

Return Value

(string)
The posts link navigation.

Function Information

Since Version
2.8.0
Source File
wp-includes/link-template.php
Advertisement