# jc-importer/2.14.23/class/Common/Addon/AddonMigration.php

Import WP – CSV &amp; XML Import Export for WordPress, version 2.14.23. 23 lines.

- Page: https://pluginprobe.com/plugins/jc-importer/2.14.23/code/class/Common/Addon/AddonMigration.php
- Raw: https://pluginprobe.com/plugins/jc-importer/2.14.23/raw/class/Common/Addon/AddonMigration.php
- Modified: 2024-07-14T15:13:26+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/jc-importer/2.14.23/code/class/Common/Addon/AddonMigration.php#L10-L20`.

```php
<?php

namespace ImportWP\Common\Addon;

/**
 * @deprecated 2.14.0
 */
class AddonMigration
{
    protected $_migrations = [];

    public function up($callback)
    {
        $this->_migrations[] = $callback;
        return $this;
    }

    public function data()
    {
        return $this->_migrations;
    }
}

```
