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



twentyeleven_attachment_size › WordPress过滤钩子

Sincen/a
已弃用n/a
› apply_filters( 'twentyeleven_attachment_size', 848 )
参数:
  • () size The width for the image attachment size in pixels. Default 848.
    Required: Yes
定义在:
文档:

Filters the width for Twenty Eleven's default attachment size.

This edits the image width, and the image height is limited to 1024 pixels.




源码

$attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 );