tabs->get_active(); $origin_slug = 'ics'; $field = (object) []; $field->label = __( 'Choose File:', 'the-events-calendar' ); $field->placeholder = __( 'Choose File', 'the-events-calendar' ); $field->help = __( 'Select your ICS file from the WordPress media library. You may need to first upload the file from your computer to the library.', 'the-events-calendar' ); $field->source = 'ics_files'; $field->button = __( 'Upload', 'the-events-calendar' ); $field->media_title = __( 'Upload an ICS File', 'the-events-calendar' ); ?>