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



image_get_intermediate_size › WordPress过滤钩子

Since4.4.0
已弃用n/a
› apply_filters( 'image_get_intermediate_size', $data, $post_id, $size )
参数: (3)
  • () data Array of file relative path, width, and height on success. May also include file absolute path and URL.
    Required: Yes
  • () post_id The ID of the image attachment.
    Required: Yes
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (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 );