Core Function
View Source on Trac ↗ image_edit_apply_changes()
image_edit_apply_changes( mixed $image, mixed $changes ) Performs group of changes on Editor specified.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $image WP_Image_Editor | WP_Image_Editor instance. Required |
| $changes array | Array of change operations. Required |
Return Value
(WP_Image_Editor)
WP_Image_Editor instance with changes applied.
Function Information
Since Version
2.9.0
Source File
wp-admin/includes/image-edit.php
Advertisement