Core Function
View Source on Trac ↗ get_the_posts_navigation()
get_the_posts_navigation( mixed $args = array() ) Returns the navigation to next/previous set of posts, when applicable.
Parameters 1 required
| Name / Type | Description |
|---|---|
| array | $args { Optional. Default posts navigation arguments. Default empty array. Required |
Return Value
(string)
Markup for posts links.
Function Information
Since Version
4.1.0
Source File
wp-includes/link-template.php
Advertisement