Change the Bullhorn field used as the Job title

You can control which field we pull from Bullhorn to use as the Job title with this code

/**
* Matador job Tile to use customtext1
*/
add_filter( 'matador_import_job_title_field', function ( $field ) {

return 'customText1';
} );

you may need flatten the the data with this code if the selected object returns an array

/**
* Matador job Title check is array and
flatten if so
*/
add_filter( 'matador_import_job_title', function ( $title ) {

if( is_array( $title ) ) {
return $title[0];
}
return $title;
} );