# storeengine/2.2.0/addons/csv/csv.php

StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates &amp; More, version 2.2.0. 36 lines.

- Page: https://pluginprobe.com/plugins/storeengine/2.2.0/code/addons/csv/csv.php
- Raw: https://pluginprobe.com/plugins/storeengine/2.2.0/raw/addons/csv/csv.php
- Modified: 2026-01-25T13:29:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/storeengine/2.2.0/code/addons/csv/csv.php#L10-L20`.

```php
<?php

namespace StoreEngine\Addons\Csv;

use StoreEngine\Addons\Csv\Ajax\Export;
use StoreEngine\Addons\Csv\Ajax\Import;
use StoreEngine\Addons\Csv\ThirdParty\Rcp;
use StoreEngine\Classes\AbstractAddon;
use StoreEngine\Traits\Singleton;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

final class Csv extends AbstractAddon {

	use Singleton;

	protected string $addon_name = 'csv';

	public function define_constants() {
		define( 'STOREENGINE_CSV_VERSION', '1.0' );
		define( 'STOREENGINE_CSV_DIR_PATH', STOREENGINE_ADDONS_DIR_PATH . 'csv/' );
	}

	public function init_addon() {
		Hooks::init();

		// ajax actions.
		( new Export() )->dispatch_actions();
		( new Import() )->dispatch_actions();
		( new Rcp() )->dispatch_actions();
	}

}

```
