wpseek.com
A WordPress-centric search engine for devs and theme authors



the_post_navigation › WordPress Function

Since4.1.0
Deprecatedn/a
the_post_navigation ( $args = array() )
Parameters:
  • (array) $args Optional. See get_the_post_navigation() for available arguments. Default empty array.
    Required: No
    Default: array()
Defined at:
Codex:

Displays the navigation to next/previous post, when applicable.



Source

function the_post_navigation( $args = array() ) {
	echo get_the_post_navigation( $args );
}