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?
- Show Featured products with custom taxonomy template
- Searching in categories AND custom fields
- How does one allow any customer to process any order in store on woocommerce?
- Add suffix to price html does not work
- Awesome Support Custom Field for show Woocommerce orders
- email address non required
- Add button linked to single product page on order detail page
- Get user active posts randomly
- WooCommerce CSV Image URL Creates Additional Images in Media Folder
- Prevent user from changing any account data once it is setup
- How to get selected variation for a product in WooCommerce Cart Page?
- Uninitialised Parameters using woocommerce_checkout_update_order_meta hook
- How to make a custom redirect in WooCommerce?
- Woocommerce customer role doesn’t change if user is already a subscriber [closed]
- Custom changes performed on WP + WooCom site on maintenance subdomain. How to perform a migration to a main domain?
- Redirect After Registration on Specific Link
- Firstname and lastname greyout or hidden Billing details at next checkout like username is hidden [closed]
- WooCommerce custom checkbox $_POST issue on checkout
- How to use woo commerce login to authenticate code php pages?
- Incorrect translation of ‘shipping’ at woocommerce checkout page after WC update 3.4*
- Woocommerce REST API not considering discounts and coupons
- Multiple sorting criteries (order by)
- Woocommerce Order Reports MYSQL
- add_filter not works in ajax
- Sell a WooCommerce Product on Content Pages
- Tags pages for different Custom Post Types and WooCommerce Products sharing Post Tags
- How can you get woocomemrce to give you multiple licensing options for a downloadable product?
- customize src attribute in woocommerce single product image
- WordPress media library don’t load most of the photos in library
- Show “email already used message” first
- How to skip woocommerce checkout after payment page? [closed]
- Product thumbnail size in catalog
- woocommerce price filter not working when change currency
- How to tell woocommerce slider to use thumbnails
- Add customer name to woocommerce email-header.php heading
- Change order status after checkout
- woocommerce_email_recipient_new_order not triggered
- WooCommerce Order page
- With what hook do I remove WooCommerce existing Product Data Tab form fields?
- woocommerce sort by dropdown styling
- Is it safe to update an old site after backing it up and activating a child theme?
- Mysql query – amount spent by customer
- How to add capabilities for editor type user to access admin section
- Load custom post template
- Woocommerce Setup not completing
- After update Woocommerce shop page not showing products
- How to hook in to WooCommerce Related Products
- outputting taxonomy hierarchy
- WordPress Migration
- taxonomy_edit_form_fields output after term fields
- Integration widget Mondial Relay Js
- Remove link for Woocommerce product tags
- WooCommerce Class dosen’t exist
- woocommerce Shortcodes – Change display between mobile and Desktop
- creating number of database entries based on users numerical input
- Replace product link with just product name on WooCommerce downloads page
- Post filter with multiple checkbox taxonomy terms
- Pages of my taxonomy terms are showing all posts
- Import download attachment from woocommerce product
- Increase load-out-page speed
- How to check which shortcode is using my template?
- WooCommerce Stucked (?) – Edit dimensions
- show multiple product photos on WooCommerce single page
- Use Product Attribute in conditional tag
- Woocommerce Product category base same as product base causes 404
- generate random slug when adding taxonomy
- Categories and products in cart Woocommerce
- Update products with curl (bash)
- Woocommerce: Unique price for individual basket items
- Hide add to cart when product variation has no price or is unavailable
- Admin – Custom Post Type in WooCommerce menu – how to control menu order
- Facing issue in Woocommerce 3.3 version in wordpress
- SyntaxError: unterminated string literal – if WordPress Debug in wp-config is set to true
- getting attributes in a product loop