Hook to process a new taxonomy tag before it is created?
The hook you’re looking for is created_{$taxonomy} but there’s a another issue. I think the biggest flaw in the logic is putting both states and cities in the same taxonomy. You’ll never be able to differentiate between the two terms ( which is the city and which is the state ). This opens the user … Read more