API SetTrainerServiceTypeFilter

From Wowpedia
Jump to: navigation, search

Sets the status of a skill filter in the trainer window.

SetTrainerServiceTypeFilter(type, status [, exclusive]);

Parameters

Arguments

type 
String - filter to set the status for:
  • "available" (can learn)
  • "unavailable" (can't learn)
  • "used" (already known)
status 
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.)
exclusive 
 ? - ?

Patch history

Warlords of Draenor Patch 6.0.2 (2014-10-14): Gained "exclusive" return.