To Term I often need to create taxonomy terms, checking if they exist first. This is a small function that handles that. Tags taxonomy term