get_attachment_icon_src
get_attachment_icon_src ( $id = 0, $fullsize = false )
Parameters:- (int) id Optional. Post ID.
- (bool) fullsize Optional. Whether to have full image. Default false.
See:Returns:- (array) Icon URL and full path to file, respectively.
Defined at: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: 2.5.0
Description
Retrieve icon URL and Path.