HEX
Server: Apache
System: Linux flamboyant-gauss.194-164-62-186.plesk.page 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: gamesamphora (10001)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/amphoragames.com/httpdocs/en/wp-content/themes/illyria/class-ti-notify.php
<?php
/**
 * Class Ti_Notify
 */
class Ti_Notify extends WP_Customize_Section {

	/**
	 * The type of customize section being rendered.
	 *
	 * @since  1.2.10
	 * @access public
	 * @var    string
	 */
	public $type = 'ti-notify';

	public $text = '';

	/**
	 * Add custom parameters to pass to the JS via JSON.
	 *
	 * @since  1.2.10
	 * @access public
	 * @return void
	 */
	public function json() {
		$json = parent::json();
		$json['text'] = $this->text;
		return $json;
	}
	/**
	 * Outputs the structure for the customizer control
	 *
	 * @since  1.2.10
	 * @access public
	 * @return void
	 */
	protected function render_template() { ?>
		<li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }} cannot-expand">
			<h3 class="accordion-section-title">
				<span class="section-title">
                    <# if( data.text.length > 0 ){ #>
                        {{{ data.text }}}
                    <# } #>
                </span>
			</h3>
		</li>
		<?php
	}
}
?>