Data for the both the Synonyms and Linked Terms features are stored in the _termmeta table in the WordPress database.
Synonym Data #
In this example below, we’ve added 3 synonyms to the “Apple” term. The main “Apple” term has an term ID of 2 in the database.
This next screenshot shows the synonym entries for this term in the database. The term_id is set to 2. The synonyms are stored in a serialized array which is the WordPress standard for term meta with multiple entries.
Linked Terms Data #
In this example below, we’ve added 3 linked terms to the “Fruit” term. The main “Fruit” term has an term ID of 22 in the database.
This next screenshot shows the linked terms entries for this term in the database. The term_id is set to 22. The linked terms are stored in a serialized array which is the WordPress standard for term meta with multiple entries.