apply_filters( 'editor_max_image_size', array $max_image_size , string|array $size , string $context )
Filters the maximum image size dimensions for the editor.
Description Description
Parameters Parameters
- $max_image_size
-
(array) An array with the width as the first element, and the height as the second element.
- $size
-
(string|array) Size of what the result image should be.
- $context
-
(string) The context the image is being resized for. Possible values are 'display' (like in a theme) or 'edit' (like inserting into an editor).
Source Source
File: wp-includes/media.php
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |