previous_posts
previous_posts ( $display = true )
Parameters:- (bool) display Optional. Whether to echo the link. Default true.
Returns:- (string|void) The previous posts page link when `$display` is false, or an empty
string when there is no previous page. Nothing otherwise.
Defined at: - Introduced in WordPress: 0.71
- Deprecated in WordPress: —
Description
Displays or retrieves the previous posts page link.