- I have user field such as "gender and country" on register form (Created with ACF).
- Also I have post (wp default posts and CPT) taxonomies called "gender and country
- My member can create unlimited posts and others can filter posts by taxonomy gender and country.
My question is: For each post when publish author, gender and country taxonomy value will get from user field value of gender and country. So, my member never again select gender and country. What kind code i should add function.php?
If we can this, when site admin change any user field such as gender value from male to female, all posts taxonomy will change for that author's post. Hope my question is clear with y bad english.