| @@ -40,13 +40,12 @@ | ||
| 40 | 40 | |
| 41 | 41 | add_action( 'give_admin_field_tools_export', array( 'Give_Settings_Export', 'render_export_field' ), 10, 2 ); |
| 42 | 42 | |
| 43 | 43 | // Do not use main donor for this tab. |
| 44 | - if( give_get_current_setting_tab() === $this->id ) { | |
| 44 | + if ( give_get_current_setting_tab() === $this->id ) { | |
| 45 | 45 | add_action( 'give-tools_open_form', '__return_empty_string' ); |
| 46 | 46 | add_action( 'give-tools_close_form', '__return_empty_string' ); |
| 47 | 47 | |
| 48 | - | |
| 49 | 48 | require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/export/class-give-export-donations.php'; |
| 50 | 49 | } |
| 51 | 50 | } |
| 52 | 51 | |
| @@ -66,11 +65,11 @@ | ||
| 66 | 65 | $settings = apply_filters( |
| 67 | 66 | 'give_get_settings_' . $this->id, |
| 68 | 67 | array( |
| 69 | 68 | array( |
| 70 | - 'id' => 'give_tools_export', | |
| 71 | - 'type' => 'title', | |
| 72 | - 'table_html' => false | |
| 69 | + 'id' => 'give_tools_export', | |
| 70 | + 'type' => 'title', | |
| 71 | + 'table_html' => false, | |
| 73 | 72 | ), |
| 74 | 73 | array( |
| 75 | 74 | 'id' => 'export', |
| 76 | 75 | 'name' => __( 'Export', 'give' ), |
| @@ -76,12 +75,12 @@ | ||
| 76 | 75 | 'name' => __( 'Export', 'give' ), |
| 77 | 76 | 'type' => 'tools_export', |
| 78 | 77 | ), |
| 79 | 78 | array( |
| 80 | - 'id' => 'give_tools_export', | |
| 81 | - 'type' => 'sectionend', | |
| 82 | - 'table_html' => false | |
| 83 | - ) | |
| 79 | + 'id' => 'give_tools_export', | |
| 80 | + 'type' => 'sectionend', | |
| 81 | + 'table_html' => false, | |
| 82 | + ), | |
| 84 | 83 | ) |
| 85 | 84 | ); |
| 86 | 85 | |
| 87 | 86 | // Output. |
| @@ -97,9 +96,9 @@ | ||
| 97 | 96 | * @param $field |
| 98 | 97 | * @param $option_value |
| 99 | 98 | */ |
| 100 | 99 | public static function render_export_field( $field, $option_value ) { |
| 101 | - include_once( 'views/html-admin-page-exports.php' ); | |
| 100 | + include_once 'views/html-admin-page-exports.php'; | |
| 102 | 101 | } |
| 103 | 102 | } |
| 104 | 103 | |
| 105 | 104 | endif; |