→ WoW API
Sets the status of a skill filter in the trainer window.
SetTrainerServiceTypeFilter(type, status [, exclusive]);
- String - filter to set the status for:
- "available" (can learn)
- "unavailable" (can't learn)
- "used" (already known)
- Flag - 1 to show, 0 to hide items matching the specified filter. (Note that this is likely a bug as GetTrainerServiceTypeFilter returns a boolean now.)
- ? - ?
Patch 6.0.2 (2014-10-14): Gained "exclusive" return.