WordPress at a glance
filter is not described

wp_calculate_image_sizes filter-hook . WP 4.4.0

Filters the output of 'wp_calculate_image_sizes()'.

Usage

add_filter( 'wp_calculate_image_sizes', 'filter_function_name_9216', 10, 5 );
function filter_function_name_9216( $sizes, $size, $image_src, $image_meta, $attachment_id ){
	// filter...

	return $sizes;
}
$sizes(string)
A source size value for use in a 'sizes' attribute.
$size(array/string)
Requested size. Image size or array of width and height values in pixels (in that order).
$image_src(string/null)
The URL to the image file or null.
$image_meta(array/null)
The image meta data as returned by wp_get_attachment_metadata() or null.
$attachment_id(int)
Image attachment ID of the original image or 0.

Where the hook is called

wp_calculate_image_sizes()
wp-includes/media.php 1302
return apply_filters( 'wp_calculate_image_sizes', $sizes, $size, $image_src, $image_meta, $attachment_id );

Where the hook is used (in WP core)

Does not used.