Astra_Ext_Advanced_Headers_Meta::get_default_header_sections( string $header_section )

Get Default Header enabled sections


Description


Parameters

$header_section

(string) (Required) header section key.


Return

(string) $section enabled | ''.


Source

File: addons/advanced-headers/classes/class-astra-ext-advanced-headers-meta.php

		public function get_default_header_sections( $header_section ) {

			$section        = '';
			$section_option = astra_get_option( $header_section );
			if ( Astra_Ext_Extension::is_active( 'header-sections' ) && 'disabled' != $section_option ) {
				$section = 'enabled';
			}

			return $section;
		}


User Contributed Notes

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