Theme_Customizer
Registers theme customizer panels, sections, and styles in WordPress.
This class provides functionality for setting up customizer configurations,
adding styles, and integrating with WordPress actions such as customize_register
.
- Full name:
\BigCommerce\Container\Theme_Customizer
- Parent class:
Provider
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
PANEL_PRIMARY | public | string | ’customizer.panel.primary’ |
SECTION_BUTTONS | public | string | ’customizer.section.buttons’ |
SECTION_COLORS | public | string | ’customizer.section.colors’ |
SECTION_PRODUCT_SINGLE | public | string | ’customizer.section.product_single’ |
SECTION_PRODUCT_ARCHIVE | public | string | ’customizer.section.product_archive’ |
SECTION_PRODUCT_CATEGORIES | public | string | ’customizer.section.product_categories’ |
SECTION_CART | public | string | ’customizer.section.cart’ |
SECTION_CHECKOUT | public | string | ’customizer.section.checkout’ |
SECTION_BANNERS | public | string | ’customizer.section.banners’ |
STYLES | public | string | ’customizer.styles’ |
Methods
register
Registers customizer panels, sections, and styles in the Pimple container.
public register(\Pimple\Container $container): void
Parameters:
Parameter | Type | Description |
---|---|---|
$container | \Pimple\Container | Dependency injection container. |
Automatically generated on 2025-01-21