wp_update_term does not support custom fields so you will need to use update_term_meta instead.
This stores values like this:
update_term_meta( $term_id, $metakey, $metavalue );
Your code should look something like this:
update_term_meta( 41, 'clpr_store_url', $url);
update_term_meta( 41, 'clpr_store_aff_url', $url);
Related Posts:
- The Difference Between Hierarchical and Non-Hierarchical Taxonomies?
- Attaching taxonomy data to post with wp_insert_post
- How to get taxonomy term of the current page and populate queries in the template
- Custom taxonomy list page?
- What is wp_insert_term “alias_of” arg for?
- wp_set_object_terms() — prevent overwrite?
- Is there a way to set singular/plural labels for taxonomy term names?
- Can we have same term slug in different taxonomies?
- Is there any difference between post in child term and child & parent terms?
- Add additional data to a specific taxonomy term when used in a post
- Display the number of published posts for each custom taxonomy term?
- Get wordpress taxonomy archive and sort by year
- Search for tags
- Create and move terms for taxonomies
- Display Post by taxonomy and taxonomy child if exist
- Missing term_id and term_taxonomy_id when adding a term using wp_insert_term() function
- Alphabetical order in taxonomy.php
- Get Term names from WP Term Object
- functions to create term and child terms
- base directories / URL
- WordPress REST get all items without a taxonomy assigned
- How do I get the current tag out of a taxonomy?
- I need template for my custom taxonomy term
- Show list of custom taxonomies when another taxonomy is selected
- If search matches taxonomy
- WordPress as thesaurus/dictionnary: what approach?
- Custom taxonomy is crashing Gutenberg
- How to show the category filter that’s shown on the ‘All post’ pages on a custom post type page in the admin area?
- Custom Field as Custom Taxonomy?
- Custom WP Query: force entry for some taxonomy and have others optional
- Using get_posts() with tax_query parameter set isn’t working with attachments
- How to get the top level parent term Advanced Custom Field values in the child terms
- Modify the query method when adding category filtering function to the custom post list
- Allow a Taxonomy Term to be Used Only Once Across All Posts
- need to get postthumnails from a post whithin a category custom post type
- Count Published & Draft Posts Associated With Each Term
- Taxonomy archive page WP_Query does not return get_the_permalink() or get_permalink() value
- How to show taxonomy image instead of taxonomy name on a list
- get_the_term_list – Return links to edit.php instead of link to taxonomy archive template
- benefits of the table ‘wp_term_taxonomy’
- How to sync to custom taxonomies (tag structure)
- How to save a multiple checkbox array into a non-hierarchical taxonomy
- List posts in a category grouped by other categories?
- `get_terms()` with `child_of` and `childless` combined
- is_taxonomy() is not working
- echo term name outside the loop, using term slug
- What are these undocumented arguments for register_taxonomy?
- Dynamic filtering of posts with custom taxonomies
- Sorting tags by name
- get_term_by seems to be failing
- How to return newly added terms when using wp_set_object_terms
- How to get terms from a custom taxonomies after WordPress 4.5.0
- How to update a taxonomy term for a custom post type with auto incrementing number
- Search Media by taxonomy
- Get Taxonomy name from “registered_taxonomy” hook
- Filtering elements by taxonomy slug
- Echo taxonomy name – second level
- In two-category searches, where does WordPress save the title of the 2nd category?
- Show only first child in dropdown
- Get terms in hierarchical taxonomy
- Taxonomy Checkbox Admin Panel
- Replacing a placeholder term with a session variable value in taxonomy filter
- Loop problem – Taxonomy
- Select query with two and two related taxonomies
- How to relate to 2 taxonomy with category
- Taxonomy Dropdown Question
- WP Search using taxonomy terms
- Customize menu link for taxonomy in WP menu
- How To Query For An Empty Taxonomy Field
- How do I converge taxonomy category permalinks into one?
- Taxonomy terms are not checked when edit custom post
- Url leading to archive page, no matter what
- Checking if a product ID has taxonomy term attached not working with has_term
- Can I create a tax query to return posts that match two slugs from same taxonomy
- Taxonomy.php inheriting first post
- Display related terms from a taxonomy in an entry
- I want to get term by term_name without taxonomy
- What is this Query? and why its taking too much time? Any way to optimize it?
- taxonomy terms, inverted
- Same page for startpage and archive?
- How to share terms between two taxonomies?
- Taxonomy Rewrite Problem
- Taxonomy terms can’t find posts from archive.php or taxonomy.php
- What to do with shared terms splitting in WordPress 4.2?
- How to get a query odered by N of matching taxonomies?
- GET Taxonomy ID
- Hiding an Advanced Custom Field based on Taxonomy Field selection
- Non-Recursive get_term_children()
- How do I add tags/taxonomy to images + a query field on page to query ‘albums’ (images with same tag/taxonomy)
- Delete Term via edit-tags.php
- Child Terms not Displaying on the Taxonomy Term Admin Screen
- multiple taxonomies in wp_list_categories’ $args
- Description of a sub-taxonomy
- Order taxonomy terms by the frequency of use in the last 30 days
- I need to add new menu item inside the custom post admin menu
- How to orderby Taxonomy Term in a WP Query
- Add URL field to wordpress taxonomy
- Using autocomplete with post_tag taxonomy on attachments
- Display taxonomy terms when adding a link in the admin
- Bulk import in custom taxonomy