ClassesBigCommerceContainerWidgets

Widgets

Registers and manages widgets for the application.

Includes widgets for product categories, mini cart, and currency switcher.

  • Full name: \BigCommerce\Container\Widgets
  • Parent class: Provider

Constants

ConstantVisibilityTypeValue
WIDGET_LISTpublicstring’widgets.list’

Methods

register

Registers the widgets and initializes the widget registration action.

public register(\Pimple\Container $container): mixed

Registers a list of widgets and hooks them into WordPress using widgets_init.

Parameters:

ParameterTypeDescription
$container\Pimple\ContainerThe service container to register services into.


Automatically generated on 2025-01-21