Copy content stored in meta to post content
Here’s an example of how to get the meta and set it as the post content. You would need to add all the meta keys to the $meta_fields array. Obviously test this locally before running in production because it will overwrite whatever is currently in the post content. function migrate_post_data() { // Add all the … Read more