wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



load_image_to_edit › WordPress Filter Hooks

Seit2.9.0
Veraltetn/v
apply_filters( 'load_image_to_edit', $image, $attachment_id, $size )
Parameter: (3)
  • (resource|GdImage) $image Current image.
    Erforderlich: Ja
  • (int) $attachment_id Attachment ID.
    Erforderlich: Ja
  • (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).
    Erforderlich: Ja
Definiert in:
Codex:

Filters the current image being loaded for editing.





Quellcode

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