2020-05-02 / 5279阅 / 悠然
Warning: This function has been deprecated. Use wp_constrain_dimensions() instead.
Calculated the new dimensions for a downsampled image.
Top ↑
(int)
(Required)
Current width of the image
(int)
(Required)
Current height of the image
(array) Shrunk dimensions (width, height).