API SetTrainerServiceTypeFilter

Sets the status of a skill filter in the trainer window. SetTrainerServiceTypeFilter(type, status [, exclusive]);

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 : ? - ?