| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | * Give Settings Page/Tab |
| 4 | 4 | * |
| 5 | 5 | * @package Give |
| 6 | 6 | * @subpackage Classes/Give_Settings_Import |
| 7 | - * @copyright Copyright (c) 2016, WordImpress | |
| 7 | + * @copyright Copyright (c) 2016, GiveWP | |
| 8 | 8 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 9 | 9 | * @since 1.8 |
| 10 | 10 | */ |
| 11 | 11 | |
| @@ -49,19 +49,25 @@ | ||
| 49 | 49 | |
| 50 | 50 | parent::__construct(); |
| 51 | 51 | |
| 52 | 52 | // Will display html of the import donation. |
| 53 | - add_action( 'give_admin_field_tools_import', array( | |
| 54 | - 'Give_Settings_Import', | |
| 55 | - 'render_import_field', | |
| 56 | - ), 10, 2 ); | |
| 53 | + add_action( | |
| 54 | + 'give_admin_field_tools_import', | |
| 55 | + array( | |
| 56 | + 'Give_Settings_Import', | |
| 57 | + 'render_import_field', | |
| 58 | + ), | |
| 59 | + 10, | |
| 60 | + 2 | |
| 61 | + ); | |
| 57 | 62 | |
| 58 | 63 | // Do not use main form for this tab. |
| 59 | 64 | if ( give_get_current_setting_tab() === $this->id ) { |
| 60 | - add_action( "give-tools_open_form", '__return_empty_string' ); | |
| 61 | - add_action( "give-tools_close_form", '__return_empty_string' ); | |
| 65 | + add_action( 'give-tools_open_form', '__return_empty_string' ); | |
| 66 | + add_action( 'give-tools_close_form', '__return_empty_string' ); | |
| 62 | 67 | |
| 63 | - require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/import/class-give-import-donations.php'; | |
| 68 | + require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/import/class-give-import-donations.php'; | |
| 69 | + require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/import/class-give-import-subscriptions.php'; | |
| 64 | 70 | require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/import/class-give-import-core-settings.php'; |
| 65 | 71 | } |
| 66 | 72 | } |
| 67 | 73 | |