Summery Summery
Filters the maximum image size dimensions for the editor.
Syntax Syntax
Parameters Parameters
- $max_image_size
-
An array of width and height values.
- (int) The maximum width in pixels.
- '1'
(int) The maximum height in pixels.
- $size
-
Size of what the result image should be.
- $context
-
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
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |