label = __( 'Import Type:', 'the-events-calendar' ); $field->placeholder = __( 'Select Import Type', 'the-events-calendar' ); $field->help = __( 'One-time imports include all currently listed events, while scheduled imports automatically grab new events and updates from Meetup on a set schedule. Single events can be added via a one-time import.', 'the-events-calendar' ); $field->source = 'meetup_import_type'; $frequency = (object) array(); $frequency->placeholder = __( 'Select Frequency', 'the-events-calendar' ); $frequency->help = __( 'Select how often you would like events to be automatically imported.', 'the-events-calendar' ); $frequency->source = 'meetup_import_frequency'; $cron = Tribe__Events__Aggregator__Cron::instance(); $frequencies = $cron->get_frequency(); $meetup_api_key = tribe_get_option( 'meetup_api_key' ); $missing_meetup_credentials = ! $meetup_api_key; ?>