get_next_image_link()WP 5.8.0

Gets the next image link that has the same post parent.

Хуков нет.


Строку. Markup for next image link.


get_next_image_link( $size, $text );
Image size. Accepts any registered image size name, or an array of width and height values in pixels (in that order).
По умолчанию: 'thumbnail'
Link text.
По умолчанию: false


Список изменений

С версии 5.8.0 Введена.

Код get_next_image_link() WP 6.5.3

function get_next_image_link( $size = 'thumbnail', $text = false ) {
	return get_adjacent_image_link( false, $size, $text );