Is it possible to automatically run the WP Importer when creating a new site in WordPress Multisite?
I think this would need to be a function that runs when wpmu_new_blog is called but can’t find anything that’s helped.
Is it possible to automatically run the WP Importer when creating a new site in WordPress Multisite?
I think this would need to be a function that runs when wpmu_new_blog is called but can’t find anything that’s helped.
You must be logged in to post a comment.
Since this is for a multisite (the same and NOT a different wordpress installation), would any of these plugins give a solution to your question?
New Blog Defaults
It is a mu-plugin and has been around for some time (I have tried it myself and works just fine). Under “Bonus Settings” you are provided with options to customize the first post, the sample page, the first comments, the links, etc. All the settings filled under the plugin’s options will be applied to all new blogs/sites created after the plugin is installed.
Default Blog
This one uses a different approach. You have to create a “default”, “sample” blog/site first. Please have a look at the screenshots. It looks pretty easy to follow. Never tried it though.