apply_filters( 'intermediate_image_sizes_advanced', array $sizes , array $metadata )
Filters the image sizes automatically generated when uploading an image.
Parameters
- $sizes
-
An associative array of image sizes.
- $metadata
-
An associative array of image metadata: width, height, file.
Source
Changelog
Version | Description |
---|---|
WP-4.4.0 | Added the $metadata argument. |
WP-2.9.0 | Introduced. |