Filters the names and labels of the default image sizes.
$size_namesstring[]wp-admin/includes/class-custom-background.php:645Custom_Background::wp_set_background_image()wp-admin/includes/media.php:1200image_size_input_fields()wp-includes/block-editor.php:168get_default_block_editor_settings()wp-includes/media-template.php:913wp_print_media_templates()wp-includes/media-template.php:993wp_print_media_templates()wp-includes/media-template.php:1184wp_print_media_templates()wp-includes/media.php:4599wp_prepare_attachment_for_js() * * @since 3.3.0 * * @param string[] $size_names Array of image size labels keyed by their name. Default values * include 'Thumbnail', 'Medium', 'Large', and 'Full Size'. */ $size_names = apply_filters( 'image_size_names_choose', array( 'thumbnail' => __( 'Thumbnail' ), 'medium' => __( 'Medium' ), 'large' => __( 'Large' ), 'full' => __( 'Full Size' ),Introduced in 3.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.