Answer the question
In order to leave comments, you need to log in
What wordpress tables are used to store products in the database?
Hello!
I want to make an automatic record of goods in the database. Can someone tell me what tables to write down. The product itself, I see, is recorded in wp_posts. Where are attributes, upsells, tags, categories stored?
Answer the question
In order to leave comments, you need to log in
I don’t know about the description of the tables, but, in general, from their names it’s already quite clear which ones are responsible for what
wp_insert_post()
- create an entrywp_update_post()
- update recordadd_post_meta()
— add a value with a meta fieldupdate_post_meta()
- update value with meta fieldwp_set_object_terms()
- set taxonomy for postDidn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question