How to programmatically (SQL) duplicate a post
-
I made a “POST” and I would like to programmatically (MySQL) duplicate it and only change the text in it.
Can anyone tell me if that is possible and if, how to do it? All I need to do is where to get the data from (what tables and what connections) and where to store it again.
What I would like to achieve is making ca. 1000 pages which are an exact 1:1 copy, with only a different text.
The only two tables I can find is wp_posts and wp_postmeta and those do not seem to include the text which in is the post.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to programmatically (SQL) duplicate a post’ is closed to new replies.