No basket filters are used. So much junk can be potentially caught in a pig trap that the filter would become clogged immediately and you might have to clean it 100 times or more for each pig run.
If you did want to try to use one, where would you put it? Upstream of the trap, the pig would hit it. Downstream of the trap it would not catch anything, because the pig just pushed the junk out into the trap.