Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/image.php | apply_filters | 1121 | /** * Filters the returned path or URL of the current image. * * @since 2.9.0 * * @param string|false $filepath File path or URL to current image, or false. * @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|false | $filepath | File path or URL to current image, or false. |
int | $attachment_id | Attachment ID. |
string|int[] | $size | Requested image size. Can be any registered image size name, or |