get_next_image_link
get_next_image_link ( $size = 'thumbnail', $text = false )
Parameters:- (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'.
- (string|false) text Optional. Link text. Default false.
See:Returns:- (string) Markup for next image link.
Defined at: - Introduced in WordPress: 5.8.0
- Deprecated in WordPress: —
Description
Gets the next image link that has the same post parent.