WordPress at a glance

next_posts_link() WP 1.0

Displays the next posts page link.

Works based on: get_next_posts_link()

No Hooks.


Null. Nothing.


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


Since 0.71 Introduced.

Code of next_posts_link() WP 5.6

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

From category: Archives

More from Template Tags: Posts, Pages, ...

No comments
    Log In