How to find a Tag ID?

I have a tag called ‘Sold out’; the slug is ‘sold-out’. Where do I find the ID?

1 thought on “How to find a Tag ID?

  1. Go to the WordPress Dashboard -> Products > Tags and hover onto the tag “Edit” button:

    find woocommerce tag id

    You’ll see the tag edit page URL, which goes like this: https://example.com/wp-admin/term.php?taxonomy=product_tag&tag_ID=20873&post_type=product

    In this case, 20873 is your tag ID!

Reply

Your email address will not be published. Required fields are marked *