W3cubDocs

/WordPress

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 Trac

Changelog

Version Description
2.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/load_image_to_edit