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
相关勾子
twentyfifteen_attachment_sizetwentysixteen_attachment_sizetwentyten_attachment_sizetwentyfourteen_attachment_sizetwentynineteen_attachment_size
相关方法
get_the_attachment_linkthe_attachment_linkwp_get_attachment_image_sizeswp_delete_attachment_filesthe_attachment_linkswp_get_attachment_image
引入
Twenty thirteen 1.0
弃用
-

twentythirteen_attachment_size: 该函数为”Twenty Ten”WordPress主题设置附件图片的大小。用户可以通过修改该函数来改变附件图片的大小。

过滤要使用的图片附件尺寸。

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

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-06 10:33:15

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: