wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_image_tag_class › Filtr WordPress Hooks

Od2.6.0
Przestarzałyn/a
› apply_filters( 'get_image_tag_class', $class, $id, $align, $size )
Parametry: (4)
  • () class CSS class name or space-separated list of classes.
    Wymagane: Tak
  • () id Attachment ID.
    Wymagane: Tak
  • () align Part of the class name for aligning the image.
    Wymagane: Tak
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the value of the attachment's image tag class attribute.





Źródło

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