Filters the path to an attachment’s file when editing the image.
The filter is evaluated for all image sizes except ‘full’.
$pathstring
$attachment_idint
$sizestring|int[]
$filepath = apply_filters( 'load_image_to_edit_filesystempath', $filepath, $attachment_id, $size );
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/load_image_to_edit_filesystempath