id = 'system-info'; $this->label = esc_html__( 'System Info', 'give' ); parent::__construct(); // Do not use main form for this tab. if ( give_get_current_setting_tab() === $this->id ) { add_action( 'give-tools_open_form', '__return_empty_string' ); add_action( 'give-tools_close_form', '__return_empty_string' ); } } /** * Output the settings. * * @since 1.8 * @return void */ public function output() { $GLOBALS['give_hide_save_button'] = true; include_once 'views/html-admin-page-system-info.php'; } } endif; return new Give_Settings_System_Info();