twentythirteen_attachment_size

过滤钩子


apply_filters( 'twentythirteen_attachment_size', array( 724, 724 )
参数
  • (array)
    $size
    {
    @type int The attachment height in pixels.
    @type int The attachment width in pixels.
    }
    Required:
定义位置
  • wp-content/themes/twentythirteen/functions.php , line 610
引入
Twenty thirteen 1.0
弃用

Filters the image attachment size to use.

$attachment_size     = apply_filters( 'twentythirteen_attachment_size', array( 724, 724 ) );