WordPress at Your Fingertips

next_image_link() WP 1.0

Displays next image link that has the same post parent.

No Hooks.

Return

null. Nothing.

Usage

next_image_link( $size, $text );
$size(string|int[])
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)
Link text.
Default: false

Changelog

Since 2.5.0 Introduced.

Code of next_image_link() WP 5.8.1

function next_image_link( $size = 'thumbnail', $text = false ) {
	echo get_next_image_link( $size, $text );
}

image (not thumbnails funcs)

Link (tag A in HTML)

Images

Posts, Pages, ...

No comments
    Log In