Astra_Ext_Header_Sections_Markup::above_header_html_markup_loader()

Above Header Markup loader


Description


Source

File: addons/header-sections/classes/class-astra-ext-header-sections-markup.php

		public function above_header_html_markup_loader() {
			$above_header_enabled = $this->astra_above_header_enabled();
			$above_header_layout  = astra_get_option( 'above-header-layout' );

			if ( ! $above_header_enabled ) {
				return;
			}

			add_filter( 'astra_enable_mobile_menu_buttons', '__return_true' );

			astra_get_template( 'header-sections/template/' . esc_attr( $above_header_layout ) . '.php' );
		}


User Contributed Notes

You must log in before being able to contribute a note or feedback.