Core Function
View Source on Trac ↗ get_attachment_icon_src()
get_attachment_icon_src( mixed $id = 0, mixed $fullsize = false ) Retrieve icon URL and Path.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $id int | Optional. Post ID. |
| $fullsize bool | Optional. Whether to have full image. Default false. |
Return Value
(array)
Icon URL and full path to file, respectively.
Function Information
Since Version
2.1.0
Source File
wp-includes/deprecated.php
Advertisement