post_thumbnail_size

post_thumbnail_size钩子是Wordpress钩子,过滤钩子:过滤文章缩略图大小。

apply_filters( ‘post_thumbnail_size’, string|array $size, int $post_id )

参数(Parameters)

参数类型说明
$size(string | array)文章缩略图大小。图像大小或宽度和高度值的数组(按该顺序)。默认“发布缩略图”。
$post_id(int)邮政编码。

源码(Source)

//暂无
更新版本源码位置使用被使用
4.9.0wp-includes/post-thumbnail-template.php:15110
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索