过滤当前正在加载的图像以进行编辑。
原型
apply_filters( 'load_image_to_edit', resource $image, string $attachment_id, string $size )
参数
$image
(resource)
目前的形象。
$attachment_id
(string)
附件ID。
$size
(string)
图片尺寸。
源文件
路径:wp-admin/includes/image.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/load_image_to_edit/