WP_Image_Editor_GD::update_size

SummerySummery

Sets or updates current image size.

Syntax

WP_Image_Editor_GD::update_size( int $width = false, int $height = false )

ParametersParameters

$width

(int) (Optional)

Default value: false

$height

(int) (Optional)

Default value: false

ReturnReturn

(true)

SourceSource

File: wp-includes/class-wp-image-editor-gd.php


			

ChangelogChangelog

Changelog
Version Description
3.5.0 Introduced.
Scroll to Top