WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about load_image_to_edit

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/image.php apply_filters 1045 /**
* Filters the current image being loaded for editing.
*
* @since 2.9.0
*
* @param resource|GdImage $image Current image.
* @param int $attachment_id Attachment ID.
* @param string|int[] $size Requested image size. Can be any registered image size name, or
* an array of width and height values in pixels (in that order).
*/

Hook Parameters

Parameter Type Name Description
resource|GdImage $image Current image.
int $attachment_id Attachment ID.
string|int[] $size Requested image size. Can be any registered image size name, or