Astra_Addon_Builder_Footer::__construct()

Constructor


Description


Source

File: classes/builder/markup/class-astra-addon-builder-footer.php

		public function __construct() {

			$component_limit = astra_addon_builder_helper()->component_limit;
			for ( $index = 1; $index <= $component_limit; $index++ ) {
				add_action( 'astra_footer_divider_' . $index, array( $this, 'footer_divider_' . $index ) );
				self::$methods[] = 'footer_divider_' . $index;
			}

			add_action( 'astra_footer_language_switcher', array( $this, 'footer_language_switcher' ) );
		}


User Contributed Notes

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