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