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 }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |