get_attachment_icon
get_attachment_icon ( $id = 0, $fullsize = false, $max_dims = false )
Parameters:- (int) id Optional. Post ID.
- (bool) fullsize Optional. Whether to have full size image. Default false.
- (array) max_dims Optional. Dimensions of image.
See:Returns:- (string|false) HTML content.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: 2.5.0
Description
Retrieve HTML content of icon attachment image element.