HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/lesanew/www/wp-content/plugins/neobeat-core/inc/search/layouts/fullscreen/fullscreen.php
<?php
class FullscreenSearch extends NeoBeatCoreSearch {
	private static $instance;

	public function __construct() {
		parent::__construct();
		add_action('neobeat_action_page_footer_template', array($this, 'load_template'), 11); //after footer
	}

	public static function get_instance() {
		if ( self::$instance == null ) {
			self::$instance = new self();
		}

		return self::$instance;
	}

	public function load_template() {
		if(is_active_widget(false,false,'neobeat_core_search_opener')) {
			neobeat_core_template_part('search/layouts/' . $this->search_layout, 'templates/' . $this->search_layout);
		}
	}
}