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



get_image_tag › Les Filtres WordPress

Depuis2.6.0
Dépréciéen/a
› apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size )
Paramètres: (6)
  • () html HTML content for the image.
    Requis: Oui
  • () id Attachment ID.
    Requis: Oui
  • () alt Image description for the alt attribute.
    Requis: Oui
  • () title Image description for the title attribute.
    Requis: Oui
  • () align Part of the class name for aligning the image.
    Requis: Oui
  • () 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 HTML content for the image tag.





Source

return apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size );