On this page
apply_filters( 'fallback_intermediate_image_sizes', string[] $fallback_sizes, array $metadata )
Filters the image sizes generated for non-image mime types.
Parameters
$fallback_sizesstring[]-
An array of image size names.
$metadataarray-
Current attachment metadata.
Source
File: wp-admin/includes/image.php. View all references
$fallback_sizes = apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata );
Related
Used By
| Used By | Description |
|---|---|
| wp_generate_attachment_metadata() wp-admin/includes/image.php | Generates attachment meta data and create image sub-sizes for images. |
Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/fallback_intermediate_image_sizes