2020-05-01 / 4567阅 / 悠然
Displays next or previous image link that has the same post parent.
Retrieves the current attachment object from the $post global.
(bool)
(Optional)
Whether to display the next (false) or previous (true) link.
Default value: true
(string|array)
(Optional)
Image size. Accepts any valid image size, or an array of width and height values in pixels (in that order).
Default value: 'thumbnail'
(bool)
(Optional)
Link text.
Default value: false