apply_filters( 'load_image_to_edit', resource $image, string $attachment_id, string $size )

Filters the current image being loaded for editing.


Parameters

$image

(resource) Current image.

$attachment_id

(string) Attachment ID.

$size

(string) Image size.


Source

File: wp-admin/includes/image.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.9.0 Introduced.