WordPress at a glance
filter is not described

image_size_names_choose filter-hook . WP 3.3.0

Filters the names and labels of the default image sizes.

Usage

add_filter( 'image_size_names_choose', 'filter_function_name_4465' );
function filter_function_name_4465( $size_names ){
	// filter...

	return $size_names;
}
$size_names(string[])
Array of image size labels keyed by their name.
Default: values include 'Thumbnail', 'Medium', 'Large', and 'Full Size'

Changelog

Since 3.3.0 Introduced.

Where the hook is called

image_size_input_fields()
image_size_names_choose
wp_prepare_attachment_for_js()
image_size_names_choose
wp_print_media_templates()
image_size_names_choose
Custom_Background::wp_set_background_image()
image_size_names_choose
wp-admin/includes/media.php 1142-1150
$size_names = apply_filters(
	'image_size_names_choose',
	array(
		'thumbnail' => __( 'Thumbnail' ),
		'medium'    => __( 'Medium' ),
		'large'     => __( 'Large' ),
		'full'      => __( 'Full Size' ),
	)
);
wp-includes/media.php 3529-3537
$possible_sizes = apply_filters(
	'image_size_names_choose',
	array(
		'thumbnail' => __( 'Thumbnail' ),
		'medium'    => __( 'Medium' ),
		'large'     => __( 'Large' ),
		'full'      => __( 'Full Size' ),
	)
);
wp-includes/media-template.php 804-812
$sizes = apply_filters(
	'image_size_names_choose',
	array(
		'thumbnail' => __( 'Thumbnail' ),
		'medium'    => __( 'Medium' ),
		'large'     => __( 'Large' ),
		'full'      => __( 'Full Size' ),
	)
);
wp-includes/media-template.php 884-892
$size_names = apply_filters(
	'image_size_names_choose',
	array(
		'thumbnail' => __( 'Thumbnail' ),
		'medium'    => __( 'Medium' ),
		'large'     => __( 'Large' ),
		'full'      => __( 'Full Size' ),
	)
);
wp-includes/media-template.php 1075-1083
$sizes = apply_filters(
	'image_size_names_choose',
	array(
		'thumbnail' => __( 'Thumbnail' ),
		'medium'    => __( 'Medium' ),
		'large'     => __( 'Large' ),
		'full'      => __( 'Full Size' ),
	)
);
wp-admin/includes/class-custom-background.php 592-600
apply_filters(
	'image_size_names_choose',
	array(
		'thumbnail' => __( 'Thumbnail' ),
		'medium'    => __( 'Medium' ),
		'large'     => __( 'Large' ),
		'full'      => __( 'Full Size' ),
	)
)
wp-admin/edit-form-blocks.php 212-220
$image_size_names = apply_filters(
	'image_size_names_choose',
	array(
		'thumbnail' => __( 'Thumbnail' ),
		'medium'    => __( 'Medium' ),
		'large'     => __( 'Large' ),
		'full'      => __( 'Full Size' ),
	)
);

Where in WP core the hook is used

wp-admin/includes/ajax-actions.php 3865
add_filter( 'image_size_names_choose', array( $wp_site_icon, 'additional_sizes' ) );
wp-admin/includes/ajax-actions.php 3880
add_filter( 'image_size_names_choose', array( $wp_site_icon, 'additional_sizes' ) );