wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



load_image_to_edit › Les Filtres WordPress

Depuis2.9.0
Dépréciéen/a
apply_filters( 'load_image_to_edit', $image, $attachment_id, $size )
Paramètres: (3)
  • (resource|GdImage) $image Current image.
    Requis: Oui
  • (int) $attachment_id Attachment ID.
    Requis: Oui
  • (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).
    Requis: Oui
Défini(e) dans:
Codex:

Filters the current image being loaded for editing.





Source

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