A WordPress-centric search engine for devs and theme authors



image_get_intermediate_size ›

Since4.4.0
Deprecatedn/a
apply_filters( 'image_get_intermediate_size', $data, $post_id, $size )
Parameters: (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 ID of the image attachment.
    Required: Yes
  • (string|int[]) $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
Defined at:
Codex:

Filters the output of image_get_intermediate_size()





Source

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