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