wpseek.com
A WordPress-centric search engine for devs and theme authors



load_image_to_edit_path › WordPress Filter Hooks

Since2.9.0
Deprecatedn/a
apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size )
Parameters: (3)
  • (string|false) $filepath File path or URL to current image, or false.
    Required: Yes
  • (int) $attachment_id Attachment ID.
    Required: Yes
  • (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).
    Required: Yes
Defined at:
Codex:

Filters the returned path or URL of the current image.





Source

return apply_filters( 'load_image_to_edit_path', $filepath, $attachment_id, $size );