Astra_Ext_Sticky_Header_Markup::__construct()

Constructor


Description


Source

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

		public function __construct() {

			add_action( 'body_class', array( $this, 'add_body_class' ) );

			/* Fixed header markup */
			add_action( 'astra_header', array( $this, 'none_header_markup' ), 5 );
			add_action( 'astra_sticky_header_markup', array( $this, 'fixed_header_markup' ) );

			add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
			add_action( 'astra_get_css_files', array( $this, 'add_styles' ) );
			add_action( 'astra_get_js_files', array( $this, 'add_scripts' ) );
			add_filter( 'astra_addon_js_localize', array( $this, 'localize_variables' ) );

			/**
			* Metabox setup
			*/
			add_filter( 'astra_meta_box_options', array( $this, 'add_options' ) );
			add_action( 'astra_meta_box_markup_after', array( $this, 'add_options_markup' ) );

			add_action( 'astra_customizer_save', array( $this, 'customizer_save' ) );
		}


User Contributed Notes

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