文件操作 - class-importer-manager.php
返回文件管理
返回主菜单
删除本文件
文件: /root/Desktop/OLD/plugin-wordpress/weforms/includes/class-importer-manager.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 ); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件