I have a few pages and I'm trying to import subpages into each like this:
wp_insert_post ( array( 'post_title' => $something, 'post_type' => 'page', 'post_author' => 1, 'post_status' => 'publish', 'post_parent' => array(17, 25, 27, 29) ) );
So the structure should looks like:
first->imported_name second->imported_name ...
But this doesn't work, it creates only 1 subpage. Should I copy that code 5 times for 5 pages?