Astra_Builder_Customizer::woo_header_configs( WP_Customize_Manager $wp_customize )

Register Woocommerce controls for new and old Header Builder.


Description


Parameters

$wp_customize

(WP_Customize_Manager) (Required) Theme Customizer object.


Source

File: inc/customizer/class-astra-builder-customizer.php

	public function woo_header_configs( $wp_customize ) {
		// @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
		$header_config_path = ASTRA_THEME_DIR . 'inc/customizer/configurations/builder/header';

		if ( class_exists( 'Astra_Woocommerce' ) ) {
			require_once $header_config_path . '/class-astra-customizer-woo-cart-configs.php';
		}

		if ( class_exists( 'Easy_Digital_Downloads' ) ) {
			require_once $header_config_path . '/class-astra-customizer-edd-cart-configs.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.