Remove Learnable Indicator (1.0.0)

This trivially simple addon disables the green item-is-learnable status indicator from the inventory and from the loot window. Not only will it hide the indicator, but it will also prevent it from interfering with the sort order when sorting by status.
This addon’s function is included in addons such as Loot Log and FCO ChangeStuff, and so this addon exists only for people who prefer a simple standalone solution with nothing else attached.
Uncollected set item indicator:
If you want to disable this indicator as well, you can uncomment out the line containing “isLockedSetPiece”.
How does this addon work, exactly?
local function HookHandler( data )
if (type(data) == “table”) then
data.canBeUsedToLearn = false
end
return false
end
ZO_PreHook(SHARED_INVENTORY, “RefreshStatusSortOrder”, function(_, slotData) return HookHandler(slotData) end)
ZO_PreHook(LOOT_WINDOW, “SetUpLootItem”, function(_, _, data) return HookHandler(data) end)