Astra_Addon_Builder_Customizer::load_header_components()

Register Components for Header Builder.


Description


Source

File: classes/builder/class-astra-addon-builder-customizer.php

	public function load_header_components() {
		// @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
		$header_components_path = ASTRA_EXT_DIR . 'classes/builder/type/header';
		if ( ! class_exists( 'Astra_Header_Divider_Component' ) ) {
			require_once $header_components_path . '/divider/class-astra-header-divider-component.php';
		}
		require_once $header_components_path . '/button/class-astra-addon-header-button-component.php';		
		require_once $header_components_path . '/account/class-astra-ext-header-account-component.php';
		require_once $header_components_path . '/menu/class-astra-addon-header-menu-component.php';
		require_once $header_components_path . '/social-icon/class-astra-header-social-component.php';
		require_once $header_components_path . '/language-switcher/class-astra-header-language-switcher-component.php';
		require_once $header_components_path . '/off-canvas/class-astra-addon-offcanvas-component.php';

		// @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
	}

Changelog

Changelog
Version Description
3.0.0 Introduced.


User Contributed Notes

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