next_image_link()

最后更新于:2021-11-27 17:28:21

next_image_link( string|int[]$size=’thumbnail’, string|false$text=false)

Displays next image link that has the same post parent.

参数

$size

(string|int[]) (Optional) Image size. Accepts any registered image size name, or an array of width and height values in pixels (in that order).

Default value: ‘thumbnail’

$text

(string|false) (Optional) Link text.

Default value: false

源文件

文件: gc-includes/media.php

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