Core Function
View Source on Trac ↗ previous_image_link()
previous_image_link( mixed $size = 'thumbnail', mixed $text = false ) Displays previous image link that has the same post parent.
Parameters 2 required
| Name / Type | Description |
|---|---|
| mixed | (string | int[]) $size Optional. Image size. Accepts any registered image size name, or an array of width and height values in pixels (in that order). Default 'thumbnail'. Required |
| (string | | false) $text Optional. Link text. Default false. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.5.0
Source File
wp-includes/media.php
Advertisement