next_posts
next_posts ( $max_page = 0, $echo = true )
Parameters:- (int) max_page Optional. Max pages. Default 0.
- (bool) echo Optional. Whether to echo the link. Default true.
Returns:- (string|void) The link URL for next posts page if `$echo = false`.
Defined at: - Introduced in WordPress: 0.71
- Deprecated in WordPress: —
Description
Displays or retrieves the next posts page link.