WordPress at a glance
filter is not described

intermediate_image_sizes filter-hook . WP 2.5.0

Filters the list of intermediate image sizes.

Usage

add_filter( 'intermediate_image_sizes', 'filter_function_name_5396' );
function filter_function_name_5396( $default_sizes ){
	// filter...

	return $default_sizes;
}
$default_sizes(string[])
An array of intermediate image size names.
Default: are 'thumbnail', 'medium', 'medium_large', 'large'

Changelog

Since 2.5.0 Introduced.

Where the hook is called

get_intermediate_image_sizes()
intermediate_image_sizes
wp-includes/media.php 877
return apply_filters( 'intermediate_image_sizes', $default_sizes );

Where in WP core the hook is used WordPress

wp-includes/media.php 227
add_filter( 'intermediate_image_sizes', array( $this, 'intermediate_image_sizes' ) );