WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about image_get_intermediate_size

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/media.php apply_filters 849 /**
* Filters the output of image_get_intermediate_size()
*
* @since 4.4.0
*
* @see image_get_intermediate_size()
*
* @param array $data Array of file relative path, width, and height on success. May also include
* file absolute path and URL.
* @param int $post_id The ID of the image attachment.
* @param 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).
*/

Hook Parameters

Parameter Type Name Description
array $data Array of file relative path, width, and height on success. May also include
int $post_id The ID of the image attachment.
string|int[] $size Requested image size. Can be any registered image size name, or