<?php
namespace Prodigy\Includes\Helpers;

/**
 * Prodigy widget options helper class.
 *
 * @version    3.1.2
 * @package    Prodigy
 * @subpackage Prodigy/includes
 */
class Prodigy_Widget_Options {
	public $customizer_options;
	public $elementor_conditions;

	public function __construct() {
		$this->customizer_options   = get_option( 'prodigy_shop_settings', array() );
		$this->elementor_conditions = get_option( 'elementor_pro_theme_builder_conditions', array() );
	}

	public static $bool_mapper = array(
		'true'  => true,
		'on'    => true,
		'false' => false,
		'1'     => true,
		'0'     => false,
		''      => false,
		'yes'   => true,
		'no'    => false,
	);
}
