Astra_Builder_Header::mobile_above_header()
Call Mobile above header UI.
Description
Source
File: inc/builder/markup/class-astra-builder-header.php
public function mobile_above_header() { $display = get_post_meta( get_the_ID(), 'ast-hfb-mobile-header-display', true ); $display = apply_filters( 'astra_above_mobile_header_display', $display ); if ( 'disabled' !== $display ) { if ( astra_wp_version_compare( '5.4.99', '>=' ) ) { get_template_part( 'template-parts/header/builder/mobile-header', 'row', array( 'row' => 'above', ) ); } else { set_query_var( 'row', 'above' ); get_template_part( 'template-parts/header/builder/mobile-header', 'row' ); } } }
Expand full source code Collapse full source code View on Trac