wp-includes/link-template.php:2603Displays the next posts page link.
$labelstringoptionalnull$max_pageintoptional0function next_posts_link( $label = null, $max_page = 0 ) { echo get_next_posts_link( $label, $max_page );}Introduced in 0.71. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/link-template.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.