WordPress at a glance
function is not described

WC_Importer_Interface::import() public WC 1.0

Process importation. Returns an array with the imported and failed items. 'imported' contains a list of IDs. 'failed' contains a list of WP_Error objects.

Example: ['imported' => [], 'failed' => []]

{} It's a method of the class: WC_Importer_Interface{}

No Hooks.

Return

Array.

Usage

$WC_Importer_Interface = new WC_Importer_Interface();
$WC_Importer_Interface->import();

Code of WC_Importer_Interface::import() WC 5.0.0

<?php
public function import();