Astra_Ext_Adv_Footer_Markup::html_markup_loader()

Footer Widgets markup loader


Description

Loads appropriate template file based on the style option selected in options panel.


Source

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

		public function html_markup_loader() {

			$advanced_footer_layout = astra_get_option( 'footer-adv' );
			$advanced_footer_meta   = astra_get_option_meta( 'footer-adv-display' );

			if ( apply_filters( 'astra_advanced_footer_disable', false ) || 'disabled' == $advanced_footer_layout || 'disabled' == $advanced_footer_meta ) {
				return;
			}

			// Add markup.
			astra_get_template( 'advanced-footer/template/' . esc_attr( $advanced_footer_layout ) . '.php' );
		}

Changelog

Changelog
Version Description
1.0.0 Introduced.


User Contributed Notes

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