get_next_image_link()
最后更新于:2021-11-26 10:05:34
get_next_image_link( string|int[]$size=’thumbnail’, string|false$text=false)Gets the 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
响应
(string) Markup for next image link.
源文件
文件: gc-includes/media.php
function get_next_image_link( $size = 'thumbnail', $text = false ) {
return get_adjacent_image_link( false, $size, $text );
}