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



get_image_tag_class › WordPress Filter Hooks

Seit2.6.0
Veraltetn/v
apply_filters( 'get_image_tag_class', $class, $id, $align, $size )
Parameter: (4)
  • () class CSS class name or space-separated list of classes.
    Erforderlich: Ja
  • () id Attachment ID.
    Erforderlich: Ja
  • () align Part of the class name for aligning the image.
    Erforderlich: Ja
  • () 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 value of the attachment's image tag class attribute.





Quellcode

$class = apply_filters( 'get_image_tag_class', $class, $id, $align, $size );