Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_get_attachment_image_src ›

Da4.3.0
Deprecaton/a
apply_filters( 'wp_get_attachment_image_src', $image, $attachment_id, $size, $icon )
Parametri: (4)
  • (array|false) $image Either array with src, width & height, icon src, or false.
    Richiesto:
  • (int) $attachment_id Image attachment ID.
    Richiesto:
  • (string|array) $size Size of image. Image size or array of width and height values (in that order). Default 'thumbnail'.
    Richiesto:
  • (bool) $icon Whether the image should be treated as an icon. Default false.
    Richiesto:
Definito a:
Codex:

Filters the image src result.





Sorgenti

return apply_filters( 'wp_get_attachment_image_src', $image, $attachment_id, $size, $icon );