load_image_to_edit


load_image_to_edit ( $attachment_id, $mime_type, $size = 'full' )

Parameters:
  • (string) $attachment_id Attachment ID.
  • (string) $mime_type Image mime type.
  • (string) $size Optional. Image size, defaults to 'full'.
Returns:
  • (resource|false) The resulting image resource on success, false on failure.
Defined at:

Description

Load an image resource for editing.

Related Functions

_load_image_to_edit_path, format_to_edit, wp_image_editor, get_image_send_to_editor, wp_load_image

Top Google Results

User discussions

wpseek mobile