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



intermediate_image_sizes ›

Since2.5.0
已弃用n/a
apply_filters( 'intermediate_image_sizes', $default_sizes )
参数:
  • (array) $default_sizes An array of intermediate image sizes. Defaults are 'thumbnail', 'medium', 'medium_large', 'large'.
    Required: Yes
定义在:
文档:

Filters the list of intermediate image sizes.





源码

return apply_filters( 'intermediate_image_sizes', $default_sizes );