You appear to be a bot. Output may be restricted
Resizes current image.
At minimum, either a height or width must be provided. If one of the two is set to null, the resize will maintain aspect ratio according to the provided dimension.
$bool|WP_Error = WP_Image_Editor::resize();
File name: wordpress/wp-includes/class-wp-image-editor.php