wp-includes/media.php:3830Gets the previous image link that has the same post parent.
$sizestring|int[]optional'thumbnail'$textstring|falseoptionalfalsestringfunction get_previous_image_link( $size = 'thumbnail', $text = false ) { return get_adjacent_image_link( true, $size, $text );}Introduced in 5.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/media.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.