<?php
/**
 * Config file, return as json_encode
 * http://www.aa-team.com
 * ======================
 *
 * @author		AA-Team
 * @version		1.0
 */
$kingdom = $GLOBALS['kingdom']; 
echo json_encode(
	array(
		'custom_text' => array(
			'version' => '1.0',
			'title' => esc_html__('Custom Text Widget', 'kingdom'),
			'description' => esc_html__("Here you can add custom text, links or images !", 'kingdom'),
			'options' => array(
				'title' 	=> array(
					'title'		=> esc_html__('Title', 'kingdom'),
					'type' 		=> 'text',
					'width'		=> '100%',
					'std' 		=> esc_html__('Custom Text Widget', 'kingdom')	
				),
				'text' 	=> array(
					'title'		=> esc_html__('HTML Code', 'kingdom'),
					'type' 		=> 'textarea',
					'width'		=> '100%',
					'std' 		=> esc_html__('You can add any text or message here.', 'kingdom')	
				)
			)
		)
	)
);