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



wp_get_attachment_image_attributes › WordPress Filter Hooks

Da6.8.2
Deprecaton/a
› apply_filters( 'wp_get_attachment_image_attributes', $attr, $attachment, $size )
Parametri: (3)
  • () attr Array of attribute values for the image markup, keyed by attribute name. See wp_get_attachment_image().
    Richiesto: Sì
  • () attachment Image attachment post, or null if no post is found.
    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 list of attachment image attributes.





Sorgenti

$attr = apply_filters( 'wp_get_attachment_image_attributes', $attr, $attachment, $size );