wpseek.com
WordPress开发者和主题制作者的搜索引擎



previous_image_link › WordPress Function

Since2.5.0
已弃用n/a
previous_image_link ( $size = 'thumbnail', $text = false )
参数: (2)
  • (string|int[]) $size Optional. Image size. Accepts any registered image size name, or an array of width and height values in pixels (in that order). Default 'thumbnail'.
    Required: No
    默认: 'thumbnail'
  • (string|false) $text Optional. Link text. Default false.
    Required: No
    默认: false
定义在:
文档:

Displays previous image link that has the same post parent.



源码

function previous_image_link( $size = 'thumbnail', $text = false ) {
	echo get_previous_image_link( $size, $text );
}