Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/image.php | apply_filters | 1092 | /** * Filters the path to an attachment's file when editing the image. * * The filter is evaluated for all image sizes except 'full'. * * @since 3.1.0 * * @param string $path Path to the current image. * @param int $attachment_id Attachment ID. * @param string|int[] $size Requested image size. Can be any registered image size name, or * an array of width and height values in pixels (in that order). */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $path | Path to the current image. |
int | $attachment_id | Attachment ID. |
string|int[] | $size | Requested image size. Can be any registered image size name, or |