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()


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

	return $data;
Array of file relative path, width, and height on success. May also include file absolute path and URL.
The post_id of the image attachment
Registered image size or flat array of initially-requested height and width dimensions (in that order).


Since 4.4.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used

Usage not found!