WordPress at Your Fingertips

next_posts_link() WP 1.0

Displays the next posts page link.

No Hooks.

Return

null. Nothing.

Usage

next_posts_link( $label, $max_page );
$label(string)
Content for link text.
Default: null
$max_page(int)
Max pages.

Changelog

Since 0.71 Introduced.

Code of next_posts_link() WP 5.8.1

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

Archives

Posts, Pages, ...

No comments
    Log In