Filters the current image being loaded for editing.
$imageresource|GdImage
$attachment_idint
$sizestring|int[]
$image = apply_filters( 'load_image_to_edit', $image, $attachment_id, $size );
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/load_image_to_edit