Core Function
View Source on Trac ↗ next_posts()
next_posts( mixed $max_page = 0, mixed $display = true ) Displays or retrieves the next posts page link.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $max_page int | Optional. Max pages. Default 0. |
| $display bool | Optional. Whether to echo the link. Default true. |
Return Value
((string)
| void) The link URL for next posts page if `$display = false`.
Function Information
Since Version
0.71
Source File
wp-includes/link-template.php
Advertisement