In the end I added a quick check with
taxonomy_exists($slug)
and if it doesn’t exist before adding the terms I use
register_taxonomy($taxonomySlug, 'product')
This seems to have allowed creation of all terms in one go.
Related Posts:
- Split taxonomies on different pages
- Display Categories Assigned to a WooCommerce Product
- How to get woocomerce attributes thumbnail in PHP? [closed]
- How to get all attributes with their terms related to specific Woocommerce product category [closed]
- WP_Error on attribute + term insert
- Get product variation attribute titles – WooCommerce
- How to add taxonomy term under the thumbnail on woocommerce product page
- Create archive page for woocommerce attribute
- Adaptive product filters for WooCommerce
- WooCommerce: One term for Many Product Attributes
- A function to add arguments to a taxonomy
- How to give each category name its own ACF background color?
- Different Templates for Woocommerce Parent and Child Sub Categories
- Exclude product attributes from taxonomy terms loop
- wp_set_object_terms setting only first id from array
- Restrict product tags archive to certain users
- Cloning product not copying custom taxonomies
- Update a list of product to featured if product have meta value (Mysql not wpquery)
- Get WooCommerce product category list in functions.php
- MySQL error or data corruption after database migration
- Exclude Specific Product Category for showing up in its parent category page
- Display x number of terms and exclude hidden
- What is the earliest hook you can piggyback on to check terms/taxonomy for a collection view?
- Display woocommerce product_cat child terms with thumbnails
- Issue On Listing Woocommerce Parent Tag List
- How do I check if a post has a term with a particular ancestor/parent?
- How to get current product category ID in product archive page
- WooCommerce prices location in DB
- WP/WooCommerce REST API cart/checkout/order [closed]
- Adding an action within a function that is being called by add_filter
- Hide Add to Cart Button
- How to modify “[Product] has been added to your cart” in WooCommerce?
- get_terms parent for current product only
- What are terms and taxonomy, how they related to post and how these three are stored in database?
- Why do Woocommerce templates use hooks rather than get_template_part
- Get only one product category woocommerce
- How can I get WP to build a feed based on multiple taxonomy terms
- How to stop a Gutenberg Block from firing multiple GET Requests?
- Hide “Delete Note” link in Order Notes Panel
- Unable to update Woocommerce Product Permalink
- wp_customize – detect post type to show/hide customizer options
- woocommerce cart item remove ajax not working in hosted site [closed]
- Set woocommerce product price based on dealer location [closed]
- How can I custom order the product display?
- WordPress plugin cloak link [closed]
- Woocommerce REST API – updating an order changes custom tax calculations
- How do I display the taxonomy for a custom post type in an array
- How to get post’s current parent term ID?
- WordPress Comment Box on woocommerce product page [closed]
- get_terms function not returning anything
- Remove Bulk Action For non admin user
- Add max-value to hooked quantity selector in woocommerce [closed]
- Can’t remove woocommerce sidebar
- Woocommerce Slow Queries
- woo product , wp_insert_post() never displays on the front end. What gives? [closed]
- Single product page doesn’t display price
- Should I use docker in wordpress production?
- can’t get the product id in single woocommerce page
- Php echo woocommerce price
- Different files for order details
- Multiple Schema.org markups on a single product page
- Woocommerce – Adding row to cart table
- Hide a product with a certain tag from product-category
- WooCommerce get_author_posts_url() – Author URL redirecting to shop base
- Error message if user is buying less than 200 euros of a given product [closed]
- WooCommerce show a variation both in check boxes and in a list
- Woocommerce – How to mix products and posts on a landing page?
- Disable woocommerce product search plugin’s autocomplete [closed]
- Trying to display terms from custom taxonomy within function
- Woocommerce order proceed hooks
- How can i get the code of Shop Page Woocommerce?
- automatically select taxonomy based on post meta
- Add shortcode to show woocommerce shipping class name on product template
- Upload file to Woocommerce Order
- wp_login overriding user meta data
- pass a woocommerce product name to contact form7?
- Display all subterms of a custom taxonomy filtered by parent terms
- Woocommerce List categories with Image thumbnail
- How to add (and change the font of) the short product description to order page and customer’s new order e-mail [closed]
- Display WOO Commerce products on HTML page?
- How to add custom text field inputs for attributes in backend?
- Get unsolved array keys of product data tabs in woo product editor page
- Order custom taxonomy hierarchy
- Show products as posts on archive page
- Woocommerce new shop page
- Add class to latest item Woocommerce
- email address non required
- Admin – Custom Post Type in WooCommerce menu – how to control menu order
- Facing issue in Woocommerce 3.3 version in wordpress
- getting attributes in a product loop
- Removing storefront-sorting div from the before section of Shop page
- Update products, terms and relations via SQL
- How to programatically create a WooCommerce downloadable product?
- Custom post type URL returns 404 error page
- Custom sender email address for specific WooCommerce product
- Get a customer’s phone number by woocommerce
- Insert a custom field as a second email address to a completed order in WooCommerce
- Want to add Number of Products added by each shop manager in users list
- I want to update shipping charge $0 for all Woocommeerce Subscription auto-renewal orders
- Conflict between Woocommerce Booking + Woocommerce Product Options [closed]