<?php
/**
 * Backup & Restore Settings
 *
 * Export and import your Forumax configuration.
 *
 * @package Forumax
 * @since   2.2.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// Backup & Restore Options Section.
CSF::createSection(
	$prefix,
	array(
		'title'  => esc_html__( 'Backup & Restore', 'forumax' ),
		'id'     => 'bbpc_backup',
		'icon'   => 'dashicons dashicons-database-export',
		'fields' => array(
			array(
				'id'       => 'bbpc_export_import',
				'type'     => 'backup',
				'title'    => esc_html__( 'Settings Backup', 'forumax' ),
				'subtitle' => esc_html__( 'Export your current settings to save a backup, or import previously saved settings to restore your configuration.', 'forumax' ),
			),
		),
	)
);
