Astra_Ext_Header_Sections_Markup::astra_above_header_enabled()
Above Header status
Description
Source
File: addons/header-sections/classes/class-astra-ext-header-sections-markup.php
public function astra_above_header_enabled() {
$above_header_layout = astra_get_option( 'above-header-layout' );
$above_header_meta = astra_get_option_meta( 'ast-above-header-display' );
if ( ! apply_filters( 'astra_above_header_disable', false ) && 'disabled' != $above_header_layout && 'disabled' != $above_header_meta ) {
return true;
}
return false;
}
Expand full source code Collapse full source code View on Trac