Match and Merge Terms in Different Taxonomies
Grab all the post tags and loop over them. If it’s deemed an “author” by a pattern match, check to see if the equivalent author_tax term exists. If not, create it. Now you can build two stacks: one for author_tax terms to append to the post, and another for post_tag‘s to be removed. $post_tags = … Read more