Channel_Connector
Class Channel_Connector
Responsible for connecting the WordPress site with a BigCommerce channel
- Full name:
\BigCommerce\Taxonomies\Channel\Channel_Connector
Methods
__construct
public __construct(\BigCommerce\Api\v3\Api\ChannelsApi $channels_api, \BigCommerce\Api\Store_Api $store_api): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$channels_api | \BigCommerce\Api\v3\Api\ChannelsApi | |
$store_api | \BigCommerce\Api\Store_Api |
create_first_channel
public create_first_channel(): mixed
handle_connect_request
Handle a request to connect a new channel during onboarding
public handle_connect_request(string|int $value): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$value | string|int |
handle_create_request
public handle_create_request(string|int $value): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$value | string|int |
prevent_store_url_changes
Once connected to a channel, the merchant should not be able to edit the store URL from the API credentials settings.
public prevent_store_url_changes(bool|string $disabled_message): bool|string
Parameters:
Parameter | Type | Description |
---|---|---|
$disabled_message | bool|string |
Automatically generated on 2025-01-21