This guide will introduce you how data for the Tags Groups plugin is stored in the WordPress database.
On the main “Tag Group Administration” screen you will be able to see the Group ID for each Tag Group. In this example, “My Group” has an ID of 1 and there are 3 tags assigned to this group.
In this screenshow below, I’ve used the Reveal IDs plugin to show the IDs of the tags: 54, 55, and 56.
If you go to the _termmeta table in your database, you will find how the terms are connected to the Tag Groups. The term_ids below are 54, 55, and 56. For each term, there an array called _cm_term_group_array and the Group ID is stored as 1.
The labels for each group are stored together in the _options table. In the screenshot below, “not assigned” has an ID of 0 and “My Group” has an ID of 1.