wp-includes/link-template.php:2650Displays or retrieves the previous posts page link.
$displaybooloptionaltruestring|nullfunction previous_posts( $display = true ) { $link = get_previous_posts_page_link(); $output = $link ? esc_url( $link ) : ''; if ( $display ) { echo $output; } else { return $output; }}Introduced in 0.71. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
string|void to string|null.verified against sourcesrc/wp-includes/link-template.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.