Description
Filters the image sizes generated for non-image mime types.
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/image.php | 658 |
Parameters
Type | Name | Description |
---|---|---|
string[] | $fallback_sizes | An array of image size names. |
array | $metadata | Current attachment metadata. |
PHP Doc
/**
* Filters the image sizes generated for non-image mime types.
*
* @since 4.7.0
*
* @param string[] $fallback_sizes An array of image size names.
* @param array $metadata Current attachment metadata.
*/