Astra_Ext_Header_Sections_Markup::astra_below_header_has_menu()
Below Header has menu
Description
Source
File: addons/header-sections/classes/class-astra-ext-header-sections-markup.php
public function astra_below_header_has_menu() { $below_header_layout = astra_get_option( 'below-header-layout' ); $below_section_1 = astra_get_option( 'below-header-section-1' ); $below_section_2 = astra_get_option( 'below-header-section-2' ); if ( ( ( 'below-header-layout-1' == $below_header_layout && ( 'menu' == $below_section_1 || 'menu' == $below_section_2 ) ) || ( 'below-header-layout-2' == $below_header_layout && 'menu' == $below_section_1 ) ) ) { return true; } return false; }
Expand full source code Collapse full source code View on Trac