# weforms/1.5.4/includes/class-importer-manager.php

weForms – Easy Drag &amp; Drop Contact Form Builder For WordPress, version 1.5.4. 38 lines.

- Page: https://pluginprobe.com/plugins/weforms/1.5.4/code/includes/class-importer-manager.php
- Raw: https://pluginprobe.com/plugins/weforms/1.5.4/raw/includes/class-importer-manager.php
- Modified: 2020-10-20T13:26: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/weforms/1.5.4/code/includes/class-importer-manager.php#L10-L20`.

```php
<?php

/**
 * Importer Manager
 *
 * @since 1.1.0
 */
class WeForms_Importer_Manager {

    public function __construct() {
        $this->get_importers();
    }

    /**
     * Fetch and instantiate all the importers
     *
     * @return array
     */
    public function get_importers() {
        require_once WEFORMS_INCLUDES . '/importer/class-importer-abstract.php';
        require_once WEFORMS_INCLUDES . '/importer/class-importer-cf7.php';
        require_once WEFORMS_INCLUDES . '/importer/class-importer-gf.php';
        require_once WEFORMS_INCLUDES . '/importer/class-importer-wpforms.php';
        require_once WEFORMS_INCLUDES . '/importer/class-importer-ninja-forms.php';
        require_once WEFORMS_INCLUDES . '/importer/class-importer-caldera-forms.php';

        $importers = [
            'cf7'        => new WeForms_Importer_CF7(),
            'gravity'    => new WeForms_Importer_GF(),
            'wpforms'    => new WeForms_Importer_WPForms(),
            'ninjaforms' => new WeForms_Importer_Ninja_Forms(),
            'caldera'    => new WeForms_Importer_Caldera_Forms(),
        ];

        return apply_filters( 'weforms_form_importers', $importers );
    }
}

```
