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 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
See:
  • image_get_intermediate_size()
Defined at:
Codex:

Filters the output of image_get_intermediate_size()





Source

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