apply_filters( 'intermediate_image_sizes_advanced', array $sizes, array $metadata )

Filters the image sizes automatically generated when uploading an image.

Description Description

Parameters Parameters


(array) An associative array of image sizes.


(array) An associative array of image metadata: width, height, file.

Top ↑

Source Source

File: wp-admin/includes/image.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Added the $metadata argument.
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.