Astra_Builder_Header::mobile_primary_header()
Call Mobile primary header UI.
Description
Source
File: inc/builder/markup/class-astra-builder-header.php
public function mobile_primary_header() { $display = get_post_meta( get_the_ID(), 'ast-hfb-mobile-header-display', true ); $display = apply_filters( 'astra_primary_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' => 'primary', ) ); } else { set_query_var( 'row', 'primary' ); get_template_part( 'template-parts/header/builder/mobile-header', 'row' ); } } }
Expand full source code Collapse full source code View on Trac