Astra_Ext_Mobile_Header_Markup::__construct()

Constructor


Description


Source

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

		public function __construct() {
			add_filter( 'body_class', array( $this, 'body_class' ) );
			add_action( 'astra_get_css_files', array( $this, 'add_styles' ) );
			add_action( 'astra_get_js_files', array( $this, 'add_scripts' ) );
			add_filter( 'astra_above_header_menu_toggle_classes', array( $this, 'above_header_menu_toggle_classes' ) );
			add_filter( 'astra_below_header_menu_toggle_classes', array( $this, 'below_header_menu_toggle_classes' ) );

			add_action( 'astra_above_header_before_menu', array( $this, 'above_header_before_menu' ) );
			add_action( 'astra_above_header_after_menu', array( $this, 'above_header_after_menu' ) );

			add_filter( 'astra_merge_header_custom_menu_item_wrap', array( $this, 'merge_header_custom_menu_item_wrap' ) );
			add_filter( 'astra_merge_header_before_custom_menu_item', array( $this, 'merge_header_before_custom_menu_item' ) );

			add_action( 'astra_merge_header_before_menu', array( $this, 'merge_header_before_menu' ) );
			add_action( 'astra_merge_header_after_menu', array( $this, 'merge_header_after_menu' ) );

			add_action( 'astra_main_header_custom_menu_item_before', array( $this, 'merge_header_before_menu' ) );
			add_action( 'astra_main_header_custom_menu_item_after', array( $this, 'merge_header_after_menu' ) );

			add_action( 'astra_below_header_before_menu', array( $this, 'below_header_before_menu' ) );
			add_action( 'astra_below_header_after_menu', array( $this, 'below_header_after_menu' ) );
			add_action( 'wp_head', array( $this, 'wp_head' ) );
		}


User Contributed Notes

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