WC_Shop_Customizer::add_sections( WP_Customize_Manager $wp_customize )

Add settings to the customizer.


Description Description


Parameters Parameters

$wp_customize

(Required) Theme Customizer object.


Top ↑

Source Source

File: includes/customizer/class-wc-shop-customizer.php

	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 );
	}


Top ↑

User Contributed Notes User Contributed Notes

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