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



twenty_twenty_one_attachment_size › WordPress过滤钩子

SinceTwenty Twenty-One 1.0
已弃用n/a
apply_filters( 'twenty_twenty_one_attachment_size', 'full' )
参数:
  • (string) $image_size Image size. Default 'full'.
    Required: Yes
定义在:
文档:

Filter the default image attachment size.





源码

$image_size = apply_filters( 'twenty_twenty_one_attachment_size', 'full' );