What is the “icon” parameter in wp_get_attachment_image_src used for?
It’s a icon with which to display the attachment. If it isn’t set, it uses the default icon. The exception here is for images: the returned values always refer to the thumbnail (of size set in the arguments of wp_get_attachment_image_src). Icons are always shown at their original size. If the attachment was an audio file, … Read more