EDD_Batch_Import
EDD_Batch_Import Class
Description Description
Source Source
File: includes/admin/import/class-batch-import.php
Changelog Changelog
Version | Description |
---|---|
2.6 | Introduced. |
Methods Methods
- __construct — Get things started
- can_import — Can we import?
- convert_file_string_to_array — Convert a files string containing delimiters to an array.
- get_columns — Get the CSV columns
- get_first_row — Get the first row of the CSV
- get_import_type_label — Retrieve the label for the import type. Example: Payments
- get_list_table_url — Retrieve the URL to the list table for the import data type
- get_percentage_complete — Return the calculated completion percentage
- init — Initialize the updater. Runs after import file is loaded but before any processing is done.
- map_fields — Map CSV columns to import fields
- process_step — Process a step
- str_to_array — Convert a string containing delimiters to an array
- trim_preview — Trims a column value for preview