esc_html__( 'Advanced Settings', '0-day-analytics' ), 'id' => 'advanced-settings-tab', 'type' => 'tab-title', ) ); Settings::build_option( array( 'type' => 'header', 'id' => 'advanced-settings', 'title' => esc_html__( 'Advanced Settings', '0-day-analytics' ), ) ); Settings::build_option( array( 'name' => \esc_html__( 'Show live notifications in admin bar', '0-day-analytics' ), 'id' => 'live_notifications_admin_bar', 'type' => 'checkbox', 'default' => Settings::get_current_options()['live_notifications_admin_bar'], ) ); Settings::build_option( array( 'name' => \esc_html__( 'Show WP environment type in admin bar', '0-day-analytics' ), 'id' => 'environment_type_admin_bar', 'type' => 'checkbox', 'default' => Settings::get_current_options()['environment_type_admin_bar'], ) ); Settings::build_option( array( 'name' => \esc_html__( 'Do not show the source of the config and settings files', '0-day-analytics' ), 'id' => 'protected_config_source', 'type' => 'checkbox', 'default' => Settings::get_current_options()['protected_config_source'], ) ); Settings::build_option( array( 'name' => \esc_html__( 'Block all external requests', '0-day-analytics' ), 'id' => 'block_external_requests', 'type' => 'checkbox', 'default' => System_Status::environment_info()['block_external_requests'], ) ); Settings::build_option( array( 'name' => \esc_html__( 'How many versions to show in options for plugin version switch', '0-day-analytics' ), 'id' => 'plugin_version_switch_count', 'type' => 'number', 'min' => 1, 'max' => 10, 'hint' => \esc_html__( 'Set how many version to show in the drop down to choose from when Plugin version switching. Maximum allowed number is 10, minimum is 1.', '0-day-analytics' ), 'default' => Settings::get_option( 'plugin_version_switch_count' ), ) ); Settings::build_option( array( 'name' => \esc_html__( 'Show active plugins first on plugins page', '0-day-analytics' ), 'id' => 'show_active_plugins_first', 'type' => 'checkbox', 'default' => Settings::get_option( 'show_active_plugins_first' ), ) ); // Reset the settings options. Settings::build_option( array( 'type' => 'header', 'id' => 'reset-all-settings', 'title' => esc_html__( 'Reset All Settings', '0-day-analytics' ), ) ); Settings::build_option( array( 'title' => esc_html__( 'Markup', '0-day-analytics' ), 'id' => 'reset-settings-hint', 'type' => 'hint', 'hint' => esc_html__( 'This is destructive operation, which can not be undone! You may want to export your current settings first.', '0-day-analytics' ), ) ); ?>
">