: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Interface for Batch Importer
* @copyright Copyright (c) 2023, Code Atlantic LLC
if ( ! defined( 'ABSPATH' ) ) {
* Promise for structuring importers.
interface PUM_Interface_Batch_Importer {
* Determines whether the current user can perform an import.
* @return bool Whether the current user can perform an import.
public function can_import();
* Prepares the data for import.
* @return array[] Multi-dimensional array of data for import.
public function get_data();
* Performs the import process.
public function import();