tabs->get_active(); $origin_slug = 'ical'; $field = (object) []; $field->label = __( 'Import Type:', 'the-events-calendar' ); $field->placeholder = __( 'Select Import Type', 'the-events-calendar' ); $field->help = __( 'One-time imports include all events in the current feed, while scheduled imports automatically grab new events and updates from the feed on a set schedule.', 'the-events-calendar' ); $field->source = 'ical_import_type'; $frequency = (object) []; $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 = 'ical_import_frequency'; $cron = Tribe__Events__Aggregator__Cron::instance(); $frequencies = $cron->get_frequency(); ?> get_slug() ) { $this->template( 'fields/schedule', [ 'record' => $record, 'origin' => $origin_slug, 'aggregator_action' => $aggregator_action ] ); } ?> label = __( 'URL:', 'the-events-calendar' ); $field->placeholder = __( 'example.com/url.ics', 'the-events-calendar' ); $field->help = __( 'Enter the url for the iCalendar feed you wish to import, e.g. https://central.wordcamp.org/calendar.ics', 'the-events-calendar' ); ?>