Term meta not saved when adding the first category
The issue you are experiencing might be due to the action hook you’re using to save the term meta. The created_category hook fires after the term is created, but it doesn’t ensure that all fields are available at that point. To ensure that the term meta is being saved correctly even for the first category, … Read more