# wp-ultimate-exporter/2.12/Plugin.php

Export All Posts, Products, Orders &amp; Users | WP Ultimate Exporter | WordPress CSV Export, version 2.12. 29 lines.

- Page: https://pluginprobe.com/plugins/wp-ultimate-exporter/2.12/code/Plugin.php
- Raw: https://pluginprobe.com/plugins/wp-ultimate-exporter/2.12/raw/Plugin.php
- Modified: 2025-02-18T07:29:06+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/wp-ultimate-exporter/2.12/code/Plugin.php#L10-L20`.

```php
<?php
/**
 * WP Ultimate Exporter plugin file.
 *
 * Copyright (C) 2010-2020, Smackcoders Inc - info@smackcoders.com
 */

namespace Smackcoders\SMEXP;

if ( ! defined( 'ABSPATH' ) )
    exit; // Exit if accessed directly

class Plugin{
    private static $instance = null;
    private static $string = 'com.smackcoders.smackcsv';

    public static function getInstance() {
        if (Plugin::$instance == null) {
            Plugin::$instance = new Plugin;
           
            return Plugin::$instance;
        }
        return Plugin::$instance;
    }

    public function getPluginSlug(){
        return Plugin::$string;
    }
}
```
