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; }
Expand full source code Collapse full source code View on Trac