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

class StandardHeader extends NeoBeatCoreHeader {
	private static $instance;
	
	public function __construct() {
		$this->slug = 'standard';
		$this->search_layout = 'covers-header';
		$this->default_header_height = 109;
		
		add_filter( 'body_class', array( $this, 'add_body_classes' ) );
		
		parent::__construct();
	}
	
	public static function get_instance() {
		if ( self::$instance == null ) {
			self::$instance = new self();
		}
		
		return self::$instance;
	}
	
	function add_body_classes( $classes ) {
		$header_menu_position = neobeat_core_get_post_value_through_levels( 'qodef_standard_header_menu_position' );
		
		$classes[] = ! empty( $header_menu_position ) ? 'qodef-header-standard--' . $header_menu_position : '';
		
		return $classes;
	}
}