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



image_get_intermediate_size ›

Since4.4.0
已弃用n/a
apply_filters( 'image_get_intermediate_size', $data, $post_id, $size )
参数: (3)
  • (array) $data Array of file relative path, width, and height on success. May also include file absolute path and URL.
    Required: Yes
  • (int) $post_id The post_id of the image attachment
    Required: Yes
  • (string|array) $size Registered image size or flat array of initially-requested height and width dimensions (in that order).
    Required: Yes
查看:
  • image_get_intermediate_size()
定义在:
文档:

Filters the output of image_get_intermediate_size()





源码

return apply_filters( 'image_get_intermediate_size', $data, $post_id, $size );