first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<?php
/**
* Interface for Batch Importer
*
* @package PUM
* @copyright Copyright (c) 2023, Code Atlantic LLC
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Promise for structuring importers.
*
* @since 1.7.0
*/
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.
*
* @return void
*/
public function import();
}