WordPress at Your Fingertips
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_7206', 10, 3 );
function filter_function_name_7206( $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 ID of the image attachment.
Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).


Since 4.4.0 Introduced.

Where the hook is called

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.