<html>
<?php
/**
 * Redux Framework raw config.
 * For full documentation, please visit: https://devs.redux.io/
 *
 * @package Redux Framework
 */

// phpcs:disable
defined( 'ABSPATH' ) || exit;

$sample_html = '';
if ( file_exists( $dir . 'info-html.html' ) ) {
	$fs = Redux_Filesystem::get_instance();

	$sample_html = $fs->get_contents( $dir . 'info-html.html' );
}

Redux::set_section(
	$opt_name,
	array(
		'title'      => esc_html__( 'Raw', 'your-textdomain-here' ),
		'id'         => 'additional-raw',
		'desc'       => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/raw.html" target="_blank">https://devs.redux.io/core-fields/raw.html</a>',
		'subsection' => true,
		'fields'     => array(
			array(
				'id'       => 'opt-raw_info_4',
				'type'     => 'raw',
				'title'    => esc_html__( 'Standard Raw Field', 'your-textdomain-here' ),
				'subtitle' => esc_html__( 'Subtitle', 'your-textdomain-here' ),
				'desc'     => esc_html__( 'Description', 'your-textdomain-here' ),
				'content'  => $sample_html,
			),
			array(
				'id'         => 'opt-raw_info_5',
				'type'       => 'raw',
				'full_width' => false,
				'title'      => wp_kses_post( __( 'Raw Field <code>full_width</code> set to <code>false</code>', 'your-textdomain-here' ) ),
				'subtitle'   => esc_html__( 'Subtitle', 'your-textdomain-here' ),
				'desc'       => esc_html__( 'Description', 'your-textdomain-here' ),
				'content'    => $sample_html,
			),
		),
	)
);
// phpcs:enable
