WPDev.one
Core Function
View Source on Trac ↗

get_next_posts_link()

get_next_posts_link( mixed $label = null, mixed $max_page = 0 )

Retrieves the next posts page link.

Parameters 0 required

Name / Type Description
$label
string

Content for link text.

$max_page
int

Optional. Max pages. Default 0.

Return Value

((string)
| void) HTML-formatted next posts page link.

Function Information

Since Version
2.7.0
Source File
wp-includes/link-template.php
Advertisement