next_posts_link( string $label = null, int $max_page )

Displays the next posts page link.


Parameters

$label

(string) (Optional) Content for link text.

Default value: null

$max_page

(int) (Optional) Max pages. Default 0.


Source

File: wp-includes/link-template.php

function next_posts_link( $label = null, $max_page = 0 ) {
	echo get_next_posts_link( $label, $max_page );
}


Changelog

Changelog
Version Description
WP-0.71 Introduced.