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



wp_get_missing_image_subsizes › WordPress过滤钩子

Since5.3.0
已弃用n/a
apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id )
参数: (3)
  • (array[]) $missing_sizes Associative array of arrays of image sub-size information for missing image sizes, keyed by image size name.
    Required: Yes
  • (array) $image_meta The image meta data.
    Required: Yes
  • (int) $attachment_id The image attachment post ID.
    Required: Yes
定义在:
文档:

Filters the array of missing image sub-sizes for an uploaded image.





源码

return apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id );