<?php
/**
 * GravityView placeholder templates
 *
 * @file class-gravityview-placeholder-template.php
 * @package   GravityView
 * @license   GPL2+
 * @author    Katz Web Services, Inc.
 * @link      http://www.gravitykit.com
 * @copyright Copyright 2021, Katz Web Services, Inc.
 *
 * @since 2.10
 */
class GravityView_Placeholder_Template extends GravityView_Template {

	/**
	 * @since
	 * @var mixed|string The template ID.
	 */
	private $id;

	function __construct( $id = 'template_placeholder', $settings = array() ) {

		$default_template_settings = array(
			'type'        => 'custom',
			'buy_source'  => 'https://www.gravitykit.com/pricing/',
			'slug'        => '',
			'template_id' => '',
			'label'       => '',
			'description' => '',
			'logo'        => '',
			'icon'        => '',
			'price_id'    => '',
			'textdomain'  => '',
		);

		$settings = wp_parse_args( $settings, $default_template_settings );

		$this->id       = $id;
		$this->settings = $settings;

		parent::__construct( $id, $settings, array(), array() );
	}
}
