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/header/layouts/minimal/minimal-header.php
<?php

class MinimalHeader extends NeoBeatCoreHeader {
	private static $instance;
	
	public function __construct() {
		$this->slug = 'minimal';
		$this->default_header_height = 109;
		
		add_action( 'neobeat_action_before_wrapper_close_tag', array( $this, 'fullscreen_menu_template' ) );
		
		parent::__construct();
	}
	
	public static function get_instance() {
		if ( self::$instance == null ) {
			self::$instance = new self();
		}
		
		return self::$instance;
	}
	
	function fullscreen_menu_template() {
		$parameters = array(
			'fullscreen_menu_in_grid' => neobeat_core_get_post_value_through_levels( 'qodef_fullscreen_menu_in_grid' ) === 'yes'
		);
		
		neobeat_core_template_part( 'fullscreen-menu', 'templates/full-screen-menu', '', $parameters );
	}
}