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



get_image_tag_class › Les Filtres WordPress

Depuis2.6.0
Dépréciéen/a
› apply_filters( 'get_image_tag_class', $class, $id, $align, $size )
Paramètres: (4)
  • () class CSS class name or space-separated list of classes.
    Requis: Oui
  • () id Attachment ID.
    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 value of the attachment's image tag class attribute.





Source

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