Astra_Ext_Mobile_Header_Markup::wp_head()

WP Head


Description


Return

(void)


Source

File: addons/mobile-header/classes/class-astra-ext-mobile-header-markup.php

		public function wp_head() {

			if ( 'no-toggle' === astra_get_option( 'mobile-above-header-menu-style' ) ) {
				add_filter( 'astra_enable_above_header_mobile_menu_button', '__return_false' );
			}

			if ( 'no-toggle' === astra_get_option( 'mobile-below-header-menu-style' ) ) {
				add_filter( 'astra_enable_below_header_mobile_menu_button', '__return_false' );
			}

			if ( 'no-toggle' === astra_get_option( 'mobile-menu-style' ) ) {
				add_filter( 'astra_enable_mobile_menu_buttons', '__return_false', 15 );
			}
		}

User Contributed Notes

You must log in before being able to contribute a note or feedback.