Un motore di ricerca WordPress per sviluppatori e autori di temi



get_image_tag ›

Da2.6.0
Deprecaton/a
apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size )
Parametri: (6)
  • (string) $html HTML content for the image.
    Richiesto:
  • (int) $id Attachment ID.
    Richiesto:
  • (string) $alt Alternate text.
    Richiesto:
  • (string) $title Attachment title.
    Richiesto:
  • (string) $align Part of the class name for aligning the image.
    Richiesto:
  • (string|array) $size Size of image. Image size or array of width and height values (in that order). Default 'medium'.
    Richiesto:
Definito a:
Codex:

Filters the HTML content for the image tag.





Sorgenti

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