database - Has parent field in the table wp_term_taxonomy has term_id or term_taxonomy_id

I have created a category "Book" with a sub category "comics",to check how wordpress is maintaining

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745671421a4639425.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信