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



fallback_intermediate_image_sizes ›

Since4.7.0
已弃用n/a
apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata )
参数: (2)
  • (array) $fallback_sizes An array of image size names.
    Required: Yes
  • (array) $metadata Current attachment metadata.
    Required: Yes
定义在:
文档:

Filters the image sizes generated for non-image mime types.





源码

$fallback_sizes = apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata );