Pods::import PHP Method

import() public method

Import data / Save multiple rows of data at once
See also: PodsAPI::import
Since: 2.3
public import ( mixed $import_data, boolean $numeric_mode = false, string $format = null ) : array
$import_data mixed PHP associative array or CSV input
$numeric_mode boolean Use IDs instead of the name field when matching
$format string Format of import data, options are php or csv
return array IDs of imported items
    public function import($import_data, $numeric_mode = false, $format = null)
    {
        return $this->api->import($import_data, $numeric_mode, $format);
    }