Summery Summery
Filters the image sizes automatically generated when uploading an image.
Syntax Syntax
Parameters Parameters
- $new_sizes
-
Associative array of image sizes to be created.
- $image_meta
-
The image meta data: width, height, file, sizes, etc.
- $attachment_id
-
The attachment post ID for the image.
Source Source
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 5.3.0 | Added the $attachment_id argument. |
| 4.4.0 | Added the $image_meta argument. |
| 2.9.0 | Introduced. |