Changing wp_insert_post() location

This is theoretically possible. While there is no explicit way to do this in post insert/update process, all queries go through query filter before being run on database. Practically this is a no go. The level of complexity in WP’s handling of post querying is incomprehensible and full of edge cases. There is no easy … Read more

How to Create Content Remotely

You can try WP-CLI, WordPress Command Line Interface. If your pre-processed archive is a set of files, you’ll be able to create future posts to be published on specified dates utilizing these files in batch. All you need to use WP-CLI remotely is SSH terminal and, maybe, some scripting skills. See also Smashing Magazine review.