admin管理员组

文章数量:1435859

I have created a category "Book" with a sub category "comics", to check how wordpress is maintaining the hierarchy structure. When i check the table "wp_term_taxonomy", I found that such term with a parent has "parent" field populated . As the term id and term_taxonomy_id have the same value for the parent "term name" I am unable to crack whether in the table wp_term_taxonomy do the field, has term_taxonomy_id of the parent term or term_id of the parent

I have created a category "Book" with a sub category "comics", to check how wordpress is maintaining the hierarchy structure. When i check the table "wp_term_taxonomy", I found that such term with a parent has "parent" field populated . As the term id and term_taxonomy_id have the same value for the parent "term name" I am unable to crack whether in the table wp_term_taxonomy do the field, has term_taxonomy_id of the parent term or term_id of the parent

Share Improve this question edited Mar 6, 2013 at 21:30 made_in_india asked Mar 6, 2013 at 18:38 made_in_indiamade_in_india 1551 silver badge6 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 3

The parent column is the term_id of a parent term

本文标签: databaseHas parent field in the table wptermtaxonomy has termid or termtaxonomyid