Astra_Ext_Adv_Footer_Markup::__construct()

Constructor


Description


Source

File: addons/advanced-footer/classes/class-astra-ext-adv-footer-markup.php

		public function __construct() {

			/* Register Footer Widgets */
			add_action( 'init', array( $this, 'register_advanced_footer_widget' ) );

			remove_action( 'astra_footer_content', 'astra_advanced_footer_markup', 1 );
			/* Add HTML Markup */
			add_action( 'astra_footer_content', array( $this, 'html_markup_loader' ), 1 );

			add_action( 'astra_get_css_files', array( $this, 'add_styles' ) );
			add_action( 'astra_get_fonts', array( $this, 'add_fonts' ), 1 );

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

		}


User Contributed Notes

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