get_next_image_link() – Gets the next image link that has the same post parent.

You appear to be a bot. Output may be restricted

Description

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

Usage

$string = get_next_image_link( $size, $text );

Parameters

$size
( string|int[] ) optional default: thumbnail – Optional. Image size. Accepts any registered image size name, or an array of width and height values in pixels (in that order). Default 'thumbnail'.
$text
( string|false ) optional – Optional. Link text. Default false.

Returns

string Markup for next image link.

Source

File name: wordpress/wp-includes/media.php
Lines:

1 to 3 of 3
function get_next_image_link( $size = 'thumbnail', $text = false ) {
  return get_adjacent_image_link( false, $size, $text );
}
 

 View on GitHub View on Trac