I want to insert multiple records to wp_posts table in word press using a mysql query and not the front-end. I also want these new records(that i insert into wp_posts) to insert metadata into wp_postmeta table. My question is how can i do this? How does wp_posts update wp_postmeta if you insert data using the front-end api? Where in the includes/post.php is this script?
Amaina
14
Newbie Poster
Recommended Answers
Jump to PostHi, use the search box in the developers website:
From there you can see how the add and update metadata functions are used and in which files are written.
See also:
…
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.