Filters the returned path or URL of the current image.
$filepathstring|false
$attachment_idint
$sizestring|int[]
return apply_filters( 'load_image_to_edit_path', $filepath, $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_path