You can save term meta using update_term_meta:
update_term_meta( int $term_id, string $meta_key, mixed $meta_value, mixed $prev_value="" )
https://developer.wordpress.org/reference/functions/update_term_meta/
Related Posts:
- Why is my WP_Query not working when tax_query terms are an array?
- How to add terms to my tax_query based off of the current post
- Pass array of taxonomy terms to wp_query
- Formulate a url to show posts with both taxonomy terms
- Taxonomy search/filter with multiple taxonomies and multiple taxonomy terms
- Order by slug in get_terms with multiple taxonomies
- Function get_queried_object() return NULL in custom taxonomy
- Return Taxonomy/Term Information with Posts (WP_Query/get_posts)
- Get authors by term id or slug
- Taxonomy order exception for specific term
- Get posts from multiple tax terms
- How to Order a list of taxonomies? orderby?
- How to add custom meta to ‘pre_get_terms’?
- WP Job Manager plugin – Listing only the twelve job categories on frontpage order by jobs they have
- Can’t get term id for category archive
- How to make a post with certain taxonomy term display first before other post with only one query?
- How can I order a post query’s results based on the number of matching taxonomy terms?
- Only show tag with the same id as the post
- taxquery taxonomy get terms
- How to show terms from another taxonomy
- How to define a custom hierarchy for terms?
- How can I get taxonomy term name using term slug & post ID using build in WordPress function or class?
- Show posts without term
- Search custom taxonomy term by name
- Is it possible to orderby multiple meta_keys when using meta_value_num?
- How to display post from current Taxonomy in archive page?
- Display posts the match taxonomy term linked from wp_list_categoies?
- Query causing load because of SQL_CALC_FOUND_ROWS post counting?
- WP_Query with meta_value LIKE ‘something%’
- Should close $wpdb via $wpdb->close()
- How to use Meta Value Compare in WP_Query For Max and Min numbers
- meta_query works locally but not on live server
- Get the Plugin Which Triggered a MySql Query in WordPress?
- Order taxonomy terms in alphabetical order
- Empty tax_query array returns an empty array
- Mysql query LIKE not working
- How do I search inside specific taxonomies in WordPress
- Get taxonomy terms only of the WP_Query current posts
- How to correctly pass values to wpdb->prepare()?
- What’s the purpose / logic of split_the_query in WP_Query->get_posts
- Output an array of terms for a ‘tax_query’ => array()
- Need wp_query to return all children and grandchildren
- List custom taxonomy terms sharing posts with a term from a second custom taxonomy
- WP_Query Not Recognizing Taxonomy Parameter in Custom Search
- new WP_Query to get max price meta value not working
- Custom Query num_rows returns wrong amount
- Why isn’t my `meta_query` array functioning properly?
- How to orderby multiple meta fields if some fields are empty
- Filtering posts from different categories into different section by doing WP_Query only once
- WP Query Args – Title or Taxonomy Value
- Slow queries on a huge database
- Automatically Query Parent Taxonomy
- Query most popular terms by taxonomy over 2 week period
- Which is faster wpdb & get_row or wp_query & ge_post_meta?
- Is it safe to access the underlying mysqli object from \wpdb for custom queries?
- Filter Custom Taxonomy Posts
- Make a SQL query with wpdb in WordPress
- Using custom taxonomies in a query
- Specify strict ‘order by’ in WordPress query
- get_the_terms – but only show 4 Posts
- Count posts per taxonomy else change taxonomy if less than x number
- Does WordPress have something like Drupal’s DB API?
- WP_Query to output chosen term and posts with no term assigned
- Getting the post terms ‘wp_get_post_terms’ per post when within the functions.php file
- How to insert wp_users ->user login name to wp_terms when a new user registering?
- How to echo woocommerce category name
- Check if a post has term inside loop
- WP Query – filtering terms with regex
- How to get posts by category and by choosing a taxonomy term?
- relation OR instead of AND – Filtered term ID’s in loop
- Query custom taxonomy for category including children
- get_var is neither a string, integer, or array …?
- Deleting terms from the WordPress wp terms table
- What’s wrong with this wpdb query?
- get_the_terms has strange result since version 6.0
- How can I do a orderby by the number of items? So basically list by starting with the array with the largest number of post
- Exclude post with taxonomy and from the terms (taxonomy & tag) posts count
- Order (by ASC) posts with meta_key so posts without values are last
- WP Query should show No Posts when tax_query $args taxonomies don’t have associated posts
- tax_query not working on custom post type
- WP_Query multiple value not working
- Get categories within specific term
- I want to get term by term_name without taxonomy
- How to display Woocommerce products list by tag
- Gather same custom field values in one value in a select tag with wp_query
- Custom taxonomy and query multi conditions
- WP Query with sticky posts and tax_query
- Empty ‘terms’ in ‘tax_query’ returns an empty array
- how to query for meta_value have array
- Add a custom variable to query page object
- Get the tax term in which is a post via wp_query
- Displaying Results From Custom Taxonomy Query
- Order by meta values
- Different sql queries count indicator on the main page [closed]
- Convert a WP Query into a simpler SQL query to fetch only COUNT of posts
- Get posts by meta value except one post [closed]
- Get access to all terms associated to each post that the wp_query loop displays
- taxonomy-{term}.php terms pagination returning 404 after a certain page
- Using WP Query, I want to include all posts in category 1 as long as they are not also in category 2
- Include custom post type that matches taxonomy field in another custom post type