>wowhelm_
~/forever/addon-api/function/C_ActionBar.FindSpellActionButtons

C_ActionBar.FindSpellActionButtons

documented function · ActionBar
C_ActionBar.FindSpellActionButtons(spellID, setToSearch) : slots

Returns the list of action bar slots that contain a specified spell.

──ARGUMENTS
spellID
SpellIdentifier (Expects a base spell, so if a spell is overridden the base ID should be provided.)
setToSearch
ActionBarSet, default All, never secret
──RETURNS
slots
table<luaIndex>
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.