WordPress at Your Fingertips
function is not described

WC_Shop_Customizer::add_sections() public WC 1.0

Add settings to the customizer.

{} It's a method of the class: WC_Shop_Customizer{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Shop_Customizer = new WC_Shop_Customizer();
$WC_Shop_Customizer->add_sections( $wp_customize );
$wp_customize(WP_Customize_Manager) (required)
Theme Customizer object.

Code of WC_Shop_Customizer::add_sections() WC 5.7.0

public function add_sections( $wp_customize ) {
	$wp_customize->add_panel(
		'woocommerce',
		array(
			'priority'       => 200,
			'capability'     => 'manage_woocommerce',
			'theme_supports' => '',
			'title'          => __( 'WooCommerce', 'woocommerce' ),
		)
	);

	$this->add_store_notice_section( $wp_customize );
	$this->add_product_catalog_section( $wp_customize );
	$this->add_product_images_section( $wp_customize );
	$this->add_checkout_section( $wp_customize );
}