wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_image_tag_class › WordPress Filter Hooks

Da2.6.0
Deprecaton/a
› apply_filters( 'get_image_tag_class', $class, $id, $align, $size )
Parametri: (4)
  • () class CSS class name or space-separated list of classes.
    Richiesto: Sì
  • () id Attachment ID.
    Richiesto: Sì
  • () align Part of the class name for aligning the image.
    Richiesto: Sì
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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