Uses
Uses | Description |
---|---|
wp-includes/link-template.php: get_the_post_navigation() | Retrieves the navigation to next/previous post, when applicable. |
Displays the navigation to next/previous post, when applicable.
(array) (Optional) See get_the_post_navigation() for available arguments.
Default value: array()
File: wp-includes/link-template.php
function the_post_navigation( $args = array() ) { echo get_the_post_navigation( $args ); }
Version | Description |
---|---|
4.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_post_navigation