WoW API < GetItemIcon

Return the icon texture for the item.

itemIcon = GetItemIcon(itemID) 

Parameters[edit | edit source]

Arguments[edit | edit source]

Integer - The numeric ID of the item. ie. 12345

Returns[edit | edit source]

String - The name and path of the icon texture of the item.

Example[edit | edit source]

itemIcon = GetItemIcon(6948)
print("itemIcon :", itemIcon)

Result[edit | edit source]

prints Hearthstone icon - "Interface\\Icons\\INV_Misc_Rune_01".

Notes[edit | edit source]

  • As of patch 4.0.1, this function requires an itemID, it will not work with item names or links.
Community content is available under CC-BY-SA unless otherwise noted.