__( 'Tools', 'aiolos-checkout-for-woocommerce' ), 'group' => 'system', 'sections' => array( 'debug' => array( 'label' => __( 'Troubleshooting', 'aiolos-checkout-for-woocommerce' ), 'fields' => array( 'debug_log' => array( 'type' => 'toggle', 'label' => __( 'Debug log', 'aiolos-checkout-for-woocommerce' ), 'default' => 'no', 'description' => __( 'Writes what the plugin does (orders that could not be placed and why, imports, the bypass) to WooCommerce > Status > Logs, source "aiolos-checkout". Turn it on while looking into a problem, then off again.', 'aiolos-checkout-for-woocommerce' ), ), ), ), 'uninstall' => array( 'label' => __( 'When the plugin is deleted', 'aiolos-checkout-for-woocommerce' ), 'fields' => array( 'delete_data_on_uninstall' => array( 'type' => 'toggle', 'label' => __( 'Delete all settings', 'aiolos-checkout-for-woocommerce' ), 'default' => 'no', 'description' => __( 'Off: deleting the plugin keeps its settings, so installing it again brings everything back. On: deleting it removes its settings too. Orders and coupons are never touched.', 'aiolos-checkout-for-woocommerce' ), ), ), ), ), ); return $fields; } }