W3cubDocs

/WordPress

apply_filters( 'intermediate_image_sizes', string[] $default_sizes )

Filters the list of intermediate image sizes.

Parameters

$default_sizes

(string[]) An array of intermediate image size names. Defaults are 'thumbnail', 'medium', 'medium_large', 'large'.

Source

File: wp-includes/media.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/intermediate_image_sizes