Astra_Ext_Header_Sections_Markup_Compatibility::__construct()

Constructor


Description


Source

File: addons/advanced-headers/classes/class-astra-ext-header-sections-markup-compatibility.php

	public function __construct() {

		if ( astra_addon_builder_helper()->is_header_footer_builder_active ) {

			// Above Header markup control.
			add_filter( 'astra_above_header_display', array( $this, 'astra_above_header_enabled' ) );
			// Below Header markup control.
			add_filter( 'astra_below_header_display', array( $this, 'astra_below_header_enabled' ) );
		}
	}


User Contributed Notes

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