A WordPress-centric search engine for devs and theme authors



load_image_to_edit ›

Since2.9.0
Deprecatedn/a
apply_filters( 'load_image_to_edit', $image, $attachment_id, $size )
Parameters: (3)
  • (resource) $image Current image.
    Required: Yes
  • (string) $attachment_id Attachment ID.
    Required: Yes
  • (string) $size Image size.
    Required: Yes
Defined at:
Codex:

Filters the current image being loaded for editing.





Source

$image = apply_filters( 'load_image_to_edit', $image, $attachment_id, $size );