Core Function
View Source on Trac ↗ wp_image_editor()
wp_image_editor( mixed $post_id, mixed $msg = false ) Loads the WP image-editing interface.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $post_id int | Attachment post ID. Required |
| mixed | (false | object) $msg Optional. Message to display for image editor updates or errors. Default false. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.9.0
Source File
wp-admin/includes/image-edit.php
Advertisement