WordPress at a glance
filter is not described

image_get_intermediate_size filter-hook . WP 4.4.0

Filters the output of image_get_intermediate_size()

Usage

add_filter( 'image_get_intermediate_size', 'filter_function_name_7216', 10, 3 );
function filter_function_name_7216( $data, $post_id, $size ){
	// filter...

	return $data;
}
$data(array)
Array of file relative path, width, and height on success. May also include file absolute path and URL.
$post_id(int)
The ID of the image attachment.
$size(string|int[])
Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).

Changelog

Since 4.4.0 Introduced.

Where the hook is called

image_get_intermediate_size()
image_get_intermediate_size
wp-includes/media.php 849
return apply_filters( 'image_get_intermediate_size', $data, $post_id, $size );

Where in WP core the hook is used WordPress

Usage not found.