twentysixteen_attachment_size

过滤钩子


apply_filters( 'twentysixteen_attachment_size', 'large' )
参数
  • (string)
    $image_size
    Image size. Default ‘large’.
    Required:
定义位置
  • wp-content/themes/twentysixteen/image.php , line 45
引入
Twenty Sixteen 1.0
弃用

过滤默认的二十六张图片附件大小。

$image_size = apply_filters( 'twentysixteen_attachment_size', 'large' );