posts_nav_link() – Displays the post pages link navigation for previous and next pages.

You appear to be a bot. Output may be restricted

Description

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

Usage

posts_nav_link( $sep, $prelabel, $nxtlabel );

Parameters

$sep
( string ) optional – Optional. Separator for posts navigation links. Default empty.
$prelabel
( string ) optional – Optional. Label for previous pages. Default empty.
$nxtlabel
( string ) optional – Optional Label for next pages. Default empty.

Returns

void

Source

File name: wordpress/wp-includes/link-template.php
Lines:

1 to 4 of 4
function posts_nav_link( $sep = '', $prelabel = '', $nxtlabel = '' ) {
  $args = array_filter( compact( 'sep', 'prelabel', 'nxtlabel' ) );
  echo get_posts_nav_link( $args );
}
 

 View on GitHub View on Trac