Summery Summery
Filters dimensions to constrain down-sampled images to.
Syntax Syntax
Parameters Parameters
- $dimensions
-
An array of width and height values.
- (int) The width in pixels.
- '1'
(int) The height in pixels.
- $current_width
-
The current width of the image.
- $current_height
-
The current height of the image.
- $max_width
-
The maximum width permitted.
- $max_height
-
The maximum height permitted.
Source Source
File: wp-includes/media.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |