: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Interface for Batch Exporter
* @copyright Copyright (c) 2023, Code Atlantic LLC
if ( ! defined( 'ABSPATH' ) ) {
* Promise for structuring exporters.
interface PUM_Interface_Batch_Exporter {
* Determines whether the current user can perform an export.
* @return bool Whether the current user can perform an export.
public function can_export();
* Handles sending appropriate headers depending on the type of export.
public function headers();
* Retrieves the data for export.
* @return array[] Multi-dimensional array of data for export.
public function get_data();
* Performs the export process.
public function export();