next_posts

SummerySummery

Displays or retrieves the next posts page link.

Syntax

next_posts( int $max_page, bool $echo = true )

ParametersParameters

$max_page

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

$echo

(bool) (Optional) Whether to echo the link.

Default value: true

ReturnReturn

(string|void) The link URL for next posts page if $echo = false.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
0.71 Introduced.
Scroll to Top