Teleporting a polearm master

I have a character that can swap locations with another via teleportation as an action. Another has the equivalent of the Polearm Master feat. If the Teleporter swaps locations with the Polearm Master on the Teleporters’ turn, and an enemy is within range, does the Polearm Master get to use his opportunity attack on the enemy when he arrives?