Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_get_attachment_image_attributes ›

Da2.8.0
Deprecaton/a
apply_filters( 'wp_get_attachment_image_attributes', $attr, $attachment, $size )
Parametri: (3)
  • (array) $attr Attributes for the image markup.
    Richiesto:
  • (WP_Post) $attachment Image attachment post.
    Richiesto:
  • (string|array) $size Requested size. Image size or array of width and height values (in that order). Default 'thumbnail'.
    Richiesto:
Definito a:
Codex:

Filters the list of attachment image attributes.





Sorgenti

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