You can use this class to import jobs programmatically from 3rd party sources.

 $class_job_bm_import = new class_job_bm_import();

 $job_data['job_bm_is_imported'] = 'yes';
 $job_data['job_bm_import_source_jobid'] = 'xyz-unique-id-from-job-source';

 $job_data['post_title'] = 'Job Title';

 $class_job_bm_import->insert_job_data($job_data);

Default parameters:

  • post_title (String)
  • post_content (String)
  • author_id (Integer)
  • taxonomy (String)
  • taxonomy_terms (String)
  • job_bm_is_imported (String)
  • job_bm_import_source (String)
  • job_bm_import_source_jobid (String)
  • job_bm_imported_job_url  (String)
  • meta_fields (Array)  Ex: array('key_1'=> Value 1, 'key_2'=> Value 2);