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



get_image_tag › WordPress Filter Hooks

Seit2.6.0
Veraltetn/v
apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size )
Parameter: (6)
  • (string) $html HTML content for the image.
    Erforderlich: Ja
  • (int) $id Attachment ID.
    Erforderlich: Ja
  • (string) $alt Image description for the alt attribute.
    Erforderlich: Ja
  • (string) $title Image description for the title attribute.
    Erforderlich: Ja
  • (string) $align Part of the class name for aligning the image.
    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 HTML content for the image tag.





Quellcode

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