label = __( 'Content Type:', 'the-events-calendar' ); $field->placeholder = __( 'Select Content Type', 'the-events-calendar' ); $field->help = __( 'Specify the type of content you wish to import, e.g. events.', 'the-events-calendar' ); $field->help .= '
'; $field->help .= __( 'For the best results, import venue and organizer files before importing event files.', 'the-events-calendar' ); $field->source = 'csv_content_type'; $csv_record = Tribe__Events__Aggregator__Records::instance()->get_by_origin( 'csv' ); $post_types = $csv_record->get_import_post_types(); ?> label = __( 'Choose File:', 'the-events-calendar' ); $field->placeholder = __( 'Choose a CSV file', 'the-events-calendar' ); $field->help = __( 'Select your .CSV file from the WordPress media library. You may need to first upload the file from your computer to the library.', 'the-events-calendar' ); $field->button = __( 'Upload', 'the-events-calendar' ); $field->media_title = __( 'Upload a CSV File', 'the-events-calendar' ); ?>