Hi @mymindrules
The import through CSV files from 3rd-party services is every time the custom work is based on the already exported CSV file.
See how to use the PHP functions for parsing the CSV files
https://stackoverflow.com/questions/9139202/how-to-parse-a-csv-file-using-php
Then please use in the row’s “foreach” the next function for inserting the Jobs Posts:
$meta_input = array(
'jb-location-type' => $location_type,
'jb-location' => $location,
'jb-application-contact' => $app_contact,
'jb-company-name' => $company_name,
'jb-company-website' => $company_website,
'jb-company-tagline' => $company_tagline,
'jb-company-twitter' => $company_twitter,
'jb-company-facebook' => $company_facebook,
'jb-company-instagram' => $company_instagram,
'jb-expiry-date' => $expiry,
);
$job_data = array(
'post_type' => 'jb-job',
'post_author' => $user_id,
'post_parent' => 0,
'post_title' => $title,
'post_content' => $content,
'post_status' => $status,
'meta_input' => $meta_input,
);
Let me know if you have other questions,
Best Regards!