wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



load_image_to_edit › WordPress Filter Hooks

Da2.9.0
Deprecaton/a
apply_filters( 'load_image_to_edit', $image, $attachment_id, $size )
Parametri: (3)
  • (resource|GdImage) $image Current image.
    Richiesto:
  • (int) $attachment_id Attachment ID.
    Richiesto:
  • (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).
    Richiesto:
Definito a:
Codex:

Filters the current image being loaded for editing.





Sorgenti

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