One way is to have the posts in a Json format, and use wp_insert_post(); to automatically create the posts.
documentation: https://developer.wordpress.org/reference/functions/wp_insert_post/
One way is to have the posts in a Json format, and use wp_insert_post(); to automatically create the posts.
documentation: https://developer.wordpress.org/reference/functions/wp_insert_post/