Hooks

Hooks

Actions

bigcommerce/proxy/cache_set

Fires when a result has been cached.

Arguments

ArgumentTypeDescription
resultarray|\WP_ErrorResult from API call.
request\WP_REST_RequestAPI request.

Source: src/BigCommerce/Proxy/Proxy_Cache.php, line 165

bigcommerce/proxy/cache_get

Result retrieved from cache.

Arguments

ArgumentTypeDescription
resultarrayResult returned from cache.
request\WP_REST_RequestAPI request.

Source: src/BigCommerce/Proxy/Proxy_Cache.php, line 220

bigcommerce/proxy/request_received

Fires before a proxy REST request is run.

Arguments

ArgumentTypeDescription
request\WP_REST_RequestAPI request.

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 331

bigcommerce/proxy/raw_response_received

Raw API response received.

Arguments

ArgumentTypeDescription
responseobject|arrayResponse from BigCommerce API.
routestringRoute requested.
request\WP_REST_RequestAPI request.

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 363

bigcommerce/proxy/response_received

Do something with the response before it is returned. E.g. Import the product(s) and/or cache it.

Arguments

ArgumentTypeDescription
resultarray|\WP_ErrorResult from API call.
request\WP_REST_RequestAPI request.

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 379

bigcommerce/form/error

Fires when there is an error processing the add to cart form.

Arguments

ArgumentTypeDescription
error\WP_ErrorThe error object
submissionarrayThe submitted form data
redirectstringThe URL to redirect to after handling submission
dataarrayAdditional data about the submission

Source: src/BigCommerce/Cart/Add_To_Cart.php, line 28

Source: src/BigCommerce/Cart/Add_To_Cart.php, line 156

Source: src/BigCommerce/Cart/Buy_Now.php, line 69

Source: src/BigCommerce/Cart/Cart_Recovery.php, line 86

Source: src/BigCommerce/Cart/Checkout.php, line 55

Source: src/BigCommerce/Cart/Checkout.php, line 88

Source: src/BigCommerce/Forms/Update_Address_Handler.php, line 43

Source: src/BigCommerce/Forms/Update_Address_Handler.php, line 60

Source: src/BigCommerce/Forms/Delete_Address_Handler.php, line 33

Source: src/BigCommerce/Forms/Registration_Handler.php, line 75

Source: src/BigCommerce/Forms/Registration_Handler.php, line 111

Source: src/BigCommerce/Forms/Switch_Currency_Handler.php, line 75

Source: src/BigCommerce/Forms/Product_Review_Handler.php, line 52

Source: src/BigCommerce/Forms/Product_Review_Handler.php, line 85

Source: src/BigCommerce/Forms/Update_Profile_Handler.php, line 43

Source: src/BigCommerce/Forms/Update_Profile_Handler.php, line 79

Source: src/BigCommerce/Forms/Update_Profile_Handler.php, line 88

Source: src/BigCommerce/Forms/Purchase_Gift_Certificate_Handler.php, line 72

Source: src/BigCommerce/Forms/Purchase_Gift_Certificate_Handler.php, line 105

Source: src/BigCommerce/Accounts/Wishlists/Actions/Edit_Wishlist.php, line 64

Source: src/BigCommerce/Accounts/Wishlists/Actions/Add_Item.php, line 78

Source: src/BigCommerce/Accounts/Wishlists/Actions/Create_Wishlist.php, line 67

Source: src/BigCommerce/Accounts/Wishlists/Actions/Delete_Wishlist.php, line 55

Source: src/BigCommerce/Accounts/Wishlists/Actions/Remove_Item.php, line 81

bigcommerce/form/success

Triggered when a form is successfully processed.

Arguments

ArgumentTypeDescription
messagestringThe message that will display to the user.
submissionarrayThe data submitted to the form.
urlstringThe URL to redirect the user to.
dataarrayAdditional data to store with the message.

Source: src/BigCommerce/Cart/Add_To_Cart.php, line 109

Source: src/BigCommerce/Forms/Update_Address_Handler.php, line 72

Source: src/BigCommerce/Forms/Update_Address_Handler.php, line 80

Source: src/BigCommerce/Forms/Delete_Address_Handler.php, line 49

Source: src/BigCommerce/Forms/Registration_Handler.php, line 171

Source: src/BigCommerce/Forms/Switch_Currency_Handler.php, line 104

Source: src/BigCommerce/Forms/Product_Review_Handler.php, line 102

Source: src/BigCommerce/Forms/Update_Profile_Handler.php, line 99

Source: src/BigCommerce/Forms/Purchase_Gift_Certificate_Handler.php, line 126

Source: src/BigCommerce/Accounts/Wishlists/Actions/Edit_Wishlist.php, line 54

Source: src/BigCommerce/Accounts/Wishlists/Actions/Add_Item.php, line 68

Source: src/BigCommerce/Accounts/Wishlists/Actions/Create_Wishlist.php, line 57

Source: src/BigCommerce/Accounts/Wishlists/Actions/Delete_Wishlist.php, line 45

Source: src/BigCommerce/Accounts/Wishlists/Actions/Remove_Item.php, line 71

bigcommerce/do_not_cache

Fires when a BigCommerce shortcode is detected in the post content.

This action triggers cache prevention mechanisms to ensure dynamic cart content is always fresh.

Arguments

No arguments.

Source: src/BigCommerce/Cart/Cache_Control.php, line 30

bigcommerce/form/before_redirect

Fires immediately before redirecting the user after a form submission.

Arguments

ArgumentTypeDescription
urlstringThe destination URL of the redirect.

Source: src/BigCommerce/Forms/Form_Redirect.php, line 34

bigcommerce/form/redirect

Fires when a form is about to redirect due to an error.

Arguments

ArgumentTypeDescription
urlstringThe URL to redirect to, with error parameters added.

Source: src/BigCommerce/Forms/Error_Handler.php, line 43

Source: src/BigCommerce/Forms/Success_Handler.php, line 54

bigcommerce/log

Action to log messages during the BigCommerce logging process.

This action is triggered when a log entry needs to be created. It logs the message, context, level, and path to the log file.

Arguments

ArgumentTypeDescription
levelstringThe log level (e.g., INFO, ERROR).
messagestringThe log message to be recorded.
contextarrayAdditional context for the log entry.
pathstringThe path where the log is being written.

Source: src/BigCommerce/GraphQL/BaseGQL.php, line 151

Source: src/BigCommerce/GraphQL/BaseGQL.php, line 193

Source: src/BigCommerce/Import/Task_Manager.php, line 93

Source: src/BigCommerce/Import/Task_Manager.php, line 101

Source: src/BigCommerce/Import/Task_Manager.php, line 105

Source: src/BigCommerce/Import/Task_Manager.php, line 129

Source: src/BigCommerce/Import/Processors/Deleted_Product_Marker.php, line 69

Source: src/BigCommerce/Import/Processors/Deleted_Product_Marker.php, line 88

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 54

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 59

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 84

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 89

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 110

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 118

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 139

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 146

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 157

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 165

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 185

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 190

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 202

Source: src/BigCommerce/Import/Processors/Storefront_Processor.php, line 210

Source: src/BigCommerce/Import/Processors/Term_Purge.php, line 86

Source: src/BigCommerce/Import/Processors/Term_Purge.php, line 107

Source: src/BigCommerce/Import/Processors/Term_Purge.php, line 116

Source: src/BigCommerce/Import/Processors/Term_Purge.php, line 126

Source: src/BigCommerce/Import/Processors/Headless_Product_Processor.php, line 74

Source: src/BigCommerce/Import/Processors/Headless_Product_Processor.php, line 91

Source: src/BigCommerce/Import/Processors/Headless_Product_Processor.php, line 136

Source: src/BigCommerce/Import/Processors/Headless_Product_Processor.php, line 158

Source: src/BigCommerce/Import/Processors/Headless_Product_Processor.php, line 166

Source: src/BigCommerce/Import/Processors/Headless_Product_Processor.php, line 177

Source: src/BigCommerce/Import/Processors/Default_Customer_Group.php, line 67

Source: src/BigCommerce/Import/Processors/Default_Customer_Group.php, line 93

Source: src/BigCommerce/Import/Processors/Default_Customer_Group.php, line 110

Source: src/BigCommerce/Import/Processors/Store_Settings.php, line 63

Source: src/BigCommerce/Import/Processors/Store_Settings.php, line 99

Source: src/BigCommerce/Import/Processors/Store_Settings.php, line 149

Source: src/BigCommerce/Import/Processors/Store_Settings.php, line 165

Source: src/BigCommerce/Import/Processors/Store_Settings.php, line 178

Source: src/BigCommerce/Import/Processors/Brand_Import.php, line 131

Source: src/BigCommerce/Import/Processors/Brand_Import.php, line 136

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 49

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 60

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 67

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 78

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 85

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 90

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 91

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 127

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 151

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 183

Source: src/BigCommerce/Import/Processors/Currencies.php, line 68

Source: src/BigCommerce/Import/Processors/Currencies.php, line 105

Source: src/BigCommerce/Import/Processors/Currencies.php, line 108

Source: src/BigCommerce/Import/Processors/Currencies.php, line 114

Source: src/BigCommerce/Import/Processors/Currencies.php, line 122

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 69

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 86

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 90

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 100

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 120

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 128

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 150

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 171

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 185

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 195

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 210

Source: src/BigCommerce/Import/Processors/Queue_Runner.php, line 224

Source: src/BigCommerce/Import/Processors/ProductCleanup.php, line 72

Source: src/BigCommerce/Import/Processors/ProductCleanup.php, line 79

Source: src/BigCommerce/Import/Processors/Category_Import.php, line 57

Source: src/BigCommerce/Import/Processors/Category_Import.php, line 80

Source: src/BigCommerce/Import/Processors/Category_Import.php, line 89

Source: src/BigCommerce/Import/Processors/Category_Import.php, line 93

Source: src/BigCommerce/Import/Processors/Category_Import.php, line 97

Source: src/BigCommerce/Import/Processors/Category_Import.php, line 101

Source: src/BigCommerce/Import/Processors/Category_Import.php, line 106

Source: src/BigCommerce/Import/Processors/Category_Import.php, line 121

Source: src/BigCommerce/Import/Processors/Start_Import.php, line 12

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 105

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 146

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 155

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 164

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 181

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 199

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 209

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 235

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 250

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 258

Source: src/BigCommerce/Import/Processors/Image_Resizer.php, line 40

Source: src/BigCommerce/Import/Processors/Image_Resizer.php, line 42

Source: src/BigCommerce/Import/Processors/Image_Resizer.php, line 63

Source: src/BigCommerce/Import/Processors/Image_Resizer.php, line 74

Source: src/BigCommerce/Import/Processors/Image_Resizer.php, line 83

Source: src/BigCommerce/Import/Processors/Term_Import.php, line 114

Source: src/BigCommerce/Import/Processors/Term_Import.php, line 129

Source: src/BigCommerce/Import/Processors/Term_Import.php, line 139

Source: src/BigCommerce/Import/Processors/Cleanup.php, line 114

Source: src/BigCommerce/Import/Processors/Cleanup.php, line 138

Source: src/BigCommerce/Import/Processors/Cleanup.php, line 141

Source: src/BigCommerce/Import/Processors/Listing_Fetcher.php, line 84

Source: src/BigCommerce/Import/Processors/Listing_Fetcher.php, line 100

Source: src/BigCommerce/Import/Processors/Listing_Fetcher.php, line 116

Source: src/BigCommerce/Import/Runner/AsyncProcessing_Runner.php, line 35

Source: src/BigCommerce/Import/Runner/AsyncProcessing_Runner.php, line 43

Source: src/BigCommerce/Import/Runner/Lock_Monitor.php, line 42

Source: src/BigCommerce/Accounts/Customer.php, line 426

Source: src/BigCommerce/Accounts/Register.php, line 94

Source: src/BigCommerce/Accounts/Register.php, line 105

Source: src/BigCommerce/Accounts/Register.php, line 163

Source: src/BigCommerce/Accounts/Register.php, line 175

Source: src/BigCommerce/Rest/Terms_Controller.php, line 82

Source: src/BigCommerce/Rest/Terms_Controller.php, line 95

Source: src/BigCommerce/Rest/Products_Controller.php, line 145

Source: src/BigCommerce/Rest/Products_Controller.php, line 264

Source: src/BigCommerce/Rest/Products_Controller.php, line 319

Source: src/BigCommerce/Webhooks/Product/Channel_Updater.php, line 14

Source: src/BigCommerce/Webhooks/Product/Channel_Updater.php, line 25

Source: src/BigCommerce/Webhooks/Product/Channel_Updater.php, line 51

Source: src/BigCommerce/Webhooks/Product/Channel_Updater.php, line 59

Source: src/BigCommerce/Webhooks/Product/Product_Delete_Webhook.php, line 30

Source: src/BigCommerce/Webhooks/Product/Channels_UnAssign.php, line 17

Source: src/BigCommerce/Webhooks/Product/Channels_Management_Webhook.php, line 35

Source: src/BigCommerce/Webhooks/Product/Channels_Management_Webhook.php, line 50

Source: src/BigCommerce/Webhooks/Product/Channels_Management_Webhook.php, line 59

Source: src/BigCommerce/Webhooks/Product/Channels_Management_Webhook.php, line 70

Source: src/BigCommerce/Webhooks/Product/Product_Update_Webhook.php, line 30

Source: src/BigCommerce/Webhooks/Product/Channels_Assign.php, line 16

Source: src/BigCommerce/Webhooks/Product/Channels_Assign.php, line 26

Source: src/BigCommerce/Webhooks/Product/Channels_Assign.php, line 46

Source: src/BigCommerce/Webhooks/Product/Channels_Assign.php, line 50

Source: src/BigCommerce/Webhooks/Product/Channels_Assign.php, line 62

Source: src/BigCommerce/Webhooks/Product/Channels_Assign.php, line 100

Source: src/BigCommerce/Webhooks/Product/Channels_Assign.php, line 104

Source: src/BigCommerce/Webhooks/Product/Product_Create_Webhook.php, line 28

Source: src/BigCommerce/Webhooks/Product/Channels_Currency_Update.php, line 22

Source: src/BigCommerce/Webhooks/Product/Channels_Currency_Update.php, line 29

Source: src/BigCommerce/Webhooks/Product/Channels_Currency_Update.php, line 42

Source: src/BigCommerce/Webhooks/Product/Channels_Currency_Update.php, line 62

Source: src/BigCommerce/Webhooks/Product/Channels_Currency_Update.php, line 93

Source: src/BigCommerce/Webhooks/Product/Product_Inventory_Update_Webhook.php, line 33

Source: src/BigCommerce/Webhooks/Product/Channels_Manager.php, line 42

Source: src/BigCommerce/Webhooks/Product/Product_Creator.php, line 60

Source: src/BigCommerce/Webhooks/Product/Product_Creator.php, line 90

Source: src/BigCommerce/Webhooks/Product/Product_Creator.php, line 123

Source: src/BigCommerce/Webhooks/Product/Product_Updater.php, line 100

Source: src/BigCommerce/Webhooks/Webhook.php, line 154

Source: src/BigCommerce/Webhooks/Webhook.php, line 230

Source: src/BigCommerce/Webhooks/Webhook.php, line 261

Source: src/BigCommerce/Webhooks/Customer/Customer_Creator.php, line 39

Source: src/BigCommerce/Webhooks/Customer/Customer_Creator.php, line 52

Source: src/BigCommerce/Webhooks/Customer/Customer_Channel_Updater.php, line 46

Source: src/BigCommerce/Webhooks/Customer/Customer_Updater.php, line 30

Source: src/BigCommerce/Webhooks/Customer/Customer_Update_Webhook.php, line 32

Source: src/BigCommerce/Webhooks/Customer/Customer_Saver.php, line 52

Source: src/BigCommerce/Webhooks/Customer/Customer_Saver.php, line 124

Source: src/BigCommerce/Webhooks/Customer/Customer_Saver.php, line 135

Source: src/BigCommerce/Webhooks/Customer/Customer_Saver.php, line 164

Source: src/BigCommerce/Webhooks/Customer/Customer_Create_Webhook.php, line 29

Source: src/BigCommerce/Webhooks/Customer/Customer_Channel_Webhook.php, line 33

Source: src/BigCommerce/Webhooks/Customer/Customer_Delete_Webhook.php, line 30

Source: src/BigCommerce/Settings/Import_Status.php, line 250

Source: src/BigCommerce/Settings/Import_Status.php, line 253

Source: src/BigCommerce/Settings/Abort_Import.php, line 36

Source: src/BigCommerce/Post_Types/Product/Product.php, line 469

Source: src/BigCommerce/Taxonomies/Channel/Channel_Synchronizer.php, line 65

Source: src/BigCommerce/Taxonomies/Channel/Channel_Synchronizer.php, line 71

Source: src/BigCommerce/Taxonomies/Channel/Channel_Synchronizer.php, line 85

Source: src/BigCommerce/Taxonomies/Channel/Channel_Synchronizer.php, line 86

Source: src/BigCommerce/Taxonomies/Channel/Channel_Synchronizer.php, line 184

Source: src/BigCommerce/Taxonomies/Channel/Connections.php, line 106

Source: src/BigCommerce/Manager/Manager.php, line 29

Source: src/BigCommerce/Manager/Manager.php, line 36

Source: src/BigCommerce/Manager/Manager.php, line 48

Source: src/BigCommerce/Manager/Manager.php, line 55

Source: src/BigCommerce/Container/Import.php, line 545

Source: src/BigCommerce/Api/Api_Scopes_Validator.php, line 90

Source: src/BigCommerce/Api/Api_Scopes_Validator.php, line 115

login_form

Source: src/BigCommerce/Templates/Login_Form.php, line 39

bigcommerce/import/marked_deleted

Triggered when a batch of posts have been marked for deletion, due to removal from the BigCommerce store, or the disconnection of a channel

Arguments

ArgumentTypeDescription
countintThe number of deletions added to the queue
posts_to_deleteint[]The IDs of the posts that will be deleted

Source: src/BigCommerce/Import/Processors/Deleted_Product_Marker.php, line 102

bigcommerce/import/error

Action to log import errors during the BigCommerce import process.

This action is triggered when there is an error during the import process. It logs the error message and context for further analysis.

Arguments

ArgumentTypeDescription
messagestringThe error message to be logged.
contextarrayAdditional context for the error.

Source: src/BigCommerce/Import/Processors/Term_Purge.php, line 95

Source: src/BigCommerce/Import/Processors/Headless_Product_Processor.php, line 132

Source: src/BigCommerce/Import/Processors/Category_Import.php, line 116

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 128

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 142

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 177

Source: src/BigCommerce/Import/Processors/Channel_Initializer.php, line 246

Source: src/BigCommerce/Import/Processors/Listing_Fetcher.php, line 57

Source: src/BigCommerce/Import/Processors/Listing_Fetcher.php, line 96

Source: src/BigCommerce/Webhooks/Product/Product_Creator.php, line 59

Source: src/BigCommerce/Webhooks/Product/Product_Creator.php, line 86

Source: src/BigCommerce/Webhooks/Product/Product_Creator.php, line 119

Source: src/BigCommerce/Webhooks/Product/Product_Updater.php, line 68

Source: src/BigCommerce/Webhooks/Product/Product_Updater.php, line 96

Source: src/BigCommerce/Taxonomies/Channel/BC_Status.php, line 29

Source: src/BigCommerce/Container/Import.php, line 544

bigcommerce/import/fetched_currency

Hook after fetching currency code.

Arguments

ArgumentTypeDescription
currency_codestringThe fetched currency code.

Source: src/BigCommerce/Import/Processors/Store_Settings.php, line 116

bigcommerce/import/fetched_store_settings

Checks and updates routes after fetching store settings during an import.

Triggers the maybe_update_routes method of the Routes class to ensure routes are updated after store settings are fetched during the import process.

Arguments

No arguments.

Source: src/BigCommerce/Import/Processors/Store_Settings.php, line 122

bigcommerce/import/could_not_fetch_store_settings

Hook when store settings cannot be fetched.

Arguments

No arguments.

Source: src/BigCommerce/Import/Processors/Store_Settings.php, line 131

bigcommerce/import/fetched_products

Triggered when a batch of products have been fetched from the BigCommerce API and stored in the import queue

Arguments

ArgumentTypeDescription
countintThe number of products added to the queue
api_response\BigCommerce\Api\v3\Model\ProductCollectionResponseThe response received from the BigCommerce API

Source: src/BigCommerce/Import/Processors/Product_Data_Fetcher.php, line 168

bigcommerce/import/fetched_currencies

Source: src/BigCommerce/Import/Processors/Currencies.php, line 83

bigcommerce/import/could_not_fetch_currency_settings

Source: src/BigCommerce/Import/Processors/Currencies.php, line 85

Cron_Runner::START_CRON

Begins the import process when the Runner\Cron_Runner::START_CRON action is triggered.

Arguments

No arguments.

Source: src/BigCommerce/Import/Processors/Headless.php, line 28

Source: src/BigCommerce/Settings/Import_Now.php, line 144

bigcommerce/import/log

Action to log messages during the BigCommerce logging process.

This action is triggered when a log entry needs to be created. It logs the message, context, level, and path to the log file.

Arguments

ArgumentTypeDescription
levelstringThe log level (e.g., INFO, ERROR).
messagestringThe log message to be recorded.
contextarrayAdditional context for the log entry.
pathstringThe path where the log is being written.

Source: src/BigCommerce/Import/Image_Importer.php, line 68

Source: src/BigCommerce/Import/Image_Importer.php, line 100

Source: src/BigCommerce/Import/Image_Importer.php, line 191

Source: src/BigCommerce/Import/Image_Importer.php, line 219

Source: src/BigCommerce/Import/Importers/Terms/Term_Updater.php, line 29

Source: src/BigCommerce/Import/Importers/Terms/Term_Creator.php, line 29

Source: src/BigCommerce/Post_Types/Product/Product.php, line 465

bigcommerce/import/product/skipped

Fires when a product is skipped during the import process.

Arguments

ArgumentTypeDescription
post_idintThe WordPress post ID of the skipped product.
product\BigCommerce\Api\v3\Model\ProductThe product data from the BigCommerce API.
listing\BigCommerce\Api\v3\Model\ListingThe channel listing data.
channel_term\WP_TermThe term representing the product’s channel.
catalog\BigCommerce\Api\v3\Api\CatalogApiThe Catalog API instance used for product operations.

Source: src/BigCommerce/Import/Importers/Products/Product_Ignorer.php, line 67

bigcommerce/import/product/saved

A product has been saved by the import process

Arguments

ArgumentTypeDescription
post_idintThe Post ID of the skipped product
product\BigCommerce\Api\v3\Model\ProductThe product data
listing\BigCommerce\Api\v3\Model\ListingThe channel listing data
catalog\BigCommerce\Api\v3\Api\CatalogApiThe Catalog API instance

Source: src/BigCommerce/Import/Importers/Products/Product_Saver.php, line 235

bigcommerce/import/product/created

Fires after a product has been created during the import process.

Arguments

ArgumentTypeDescription
post_idintThe WordPress post ID of the created product.
product\BigCommerce\Api\v3\Model\ProductThe product data from the BigCommerce API.
listing\BigCommerce\Api\v3\Model\ListingThe channel listing data from the BigCommerce API.
catalog\BigCommerce\Api\v3\Api\CatalogApiThe Catalog API instance used for the import.

Source: src/BigCommerce/Import/Importers/Products/Product_Creator.php, line 58

bigcommerce/import/product/updated

A product has been updated by the import process

Arguments

ArgumentTypeDescription
post_idintThe Post ID of the updated product
product\BigCommerce\Api\v3\Model\ProductThe product data
listing\BigCommerce\Api\v3\Model\ListingThe channel listing data
catalog\BigCommerce\Api\v3\Api\CatalogApiThe Catalog API instance

Source: src/BigCommerce/Import/Importers/Products/Product_Updater.php, line 24

bigcommerce/import/term/skipped

A term has been skipped for import.

This action is triggered when a term is skipped for import. It allows other functions to react to the skipping of the term.

Arguments

ArgumentTypeDescription
bc_termarrayThe BigCommerce term data.
taxonomystringThe taxonomy of the term.
term_idintThe term ID in WordPress.

Source: src/BigCommerce/Import/Importers/Terms/Term_Ignorer.php, line 53

bigcommerce/import/start

This action is triggered at the start of the BigCommerce import process. It clears or truncates the log file to ensure that old logs do not interfere with the new import process.

Arguments

No arguments.

Source: src/BigCommerce/Import/Runner/Cron_Runner.php, line 33

Source: src/BigCommerce/Import/Runner/CLI_Runner.php, line 28

bigcommerce/import/before

Hook before the import starts.

Arguments

ArgumentTypeDescription
statusstringCurrent status of the import.

Source: src/BigCommerce/Import/Runner/Cron_Runner.php, line 58

Source: src/BigCommerce/Import/Runner/AsyncProcessing_Runner.php, line 52

Source: src/BigCommerce/Import/Runner/CLI_Runner.php, line 35

bigcommerce/import/run

Hook to run the import process.

Arguments

ArgumentTypeDescription
statusstringCurrent status of the import.

Source: src/BigCommerce/Import/Runner/Cron_Runner.php, line 64

Source: src/BigCommerce/Import/Runner/AsyncProcessing_Runner.php, line 53

Source: src/BigCommerce/Import/Runner/CLI_Runner.php, line 36

bigcommerce/import/after

Hook after the import finishes.

Arguments

ArgumentTypeDescription
statusstringCurrent status of the import.

Source: src/BigCommerce/Import/Runner/Cron_Runner.php, line 70

Source: src/BigCommerce/Import/Runner/AsyncProcessing_Runner.php, line 54

Source: src/BigCommerce/Import/Runner/CLI_Runner.php, line 37

self::CONTINUE_CRON

Source: src/BigCommerce/Import/Runner/Cron_Runner.php, line 96

bigcommerce/import/set_status

Hook when the import status is set.

Arguments

ArgumentTypeDescription
statusstringThe status being set.

Source: src/BigCommerce/Import/Runner/Status.php, line 86

bigcommerce/import/logs/rotate

Rotate out the current log into the previous log slot

Arguments

ArgumentTypeDescription
logarrayThe current log

Source: src/BigCommerce/Import/Runner/Status.php, line 101

bigcommerce/import/logs/rotated

Logs have been rotated

Arguments

ArgumentTypeDescription
logarrayThe previous log

Source: src/BigCommerce/Import/Runner/Status.php, line 109

bigcommerce/wishlist_endpoint/{$action}

Routes the request to the appropriate wishlist action handler.

Arguments

ArgumentTypeDescription
actionstringThe wishlist action to be executed
argsarrayThe arguments for the wishlist request

Source: src/BigCommerce/Accounts/Wishlists/Actions/Request_Router.php, line 39

bigcommerce/table_maker/created_table

Source: src/BigCommerce/Schema/Table_Maker.php, line 66

bigcommerce/webhooks/product_deleted

Source: src/BigCommerce/Webhooks/Product/Product_Delete_Webhook.php, line 38

self::CHANNEL_UPDATED_HOOK

Source: src/BigCommerce/Webhooks/Product/Channels_Management_Webhook.php, line 48

self::CHANNEL_CURRENCY_UPDATE_HOOK

Source: src/BigCommerce/Webhooks/Product/Channels_Management_Webhook.php, line 84

sprintf()

Source: src/BigCommerce/Webhooks/Product/Channels_Management_Webhook.php, line 90

Source: src/BigCommerce/Webhooks/Product/Channels_Management_Webhook.php, line 95

bigcommerce/webhooks/product_updated

Handles the “product updated” webhook event.

Arguments

ArgumentTypeDescription
paramsarrayThe parameters of the updated product, including product ID.

Source: src/BigCommerce/Webhooks/Product/Product_Update_Webhook.php, line 38

bigcommerce/import/update_product/skipped

Fires if product update import skipped.

Arguments

ArgumentTypeDescription
messagestringMessage.
product_bc_idintProduct BC ID.

Source: src/BigCommerce/Webhooks/Product/Channels_Assign.php, line 82

Source: src/BigCommerce/Webhooks/Product/Product_Updater.php, line 124

bigcommerce/webhooks/product_created

Source: src/BigCommerce/Webhooks/Product/Product_Create_Webhook.php, line 36

bigcommerce/webhooks/product_inventory_updated

Handles the “product inventory updated” webhook event.

Arguments

ArgumentTypeDescription
paramsarrayParameters for the updated product, including product ID.

Source: src/BigCommerce/Webhooks/Product/Product_Inventory_Update_Webhook.php, line 41

bigcommerce/webhooks/webhook_updated

Fires when a webhook is added to the BigCommerce database.

Arguments

ArgumentTypeDescription
intWebhook ID.
stringWebhook action name.
stringWebhook scope.

Source: src/BigCommerce/Webhooks/Webhook.php, line 172

Source: src/BigCommerce/Webhooks/Webhook.php, line 126

bigcommerce/webhooks/update_failed

Fires after webhook update failed.

Arguments

ArgumentTypeDescription
\BigCommerce\Webhooks\WebhookWebhook Webhook class.
resultarrayResult.

Source: src/BigCommerce/Webhooks/Webhook.php, line 146

bigcommerce/webhooks/delete_failed

Fires after webhook delete failed.

Arguments

ArgumentTypeDescription
\BigCommerce\Webhooks\WebhookWebhook Webhook class.
resultarrayResult.

Source: src/BigCommerce/Webhooks/Webhook.php, line 222

bigcommerce/webhooks/webhook_deleted

Fires when a webhook is deleted from the BigCommerce database.

Arguments

ArgumentTypeDescription
intWebhook ID.
stringWebhook action name.
stringWebhook scope.

Source: src/BigCommerce/Webhooks/Webhook.php, line 235

bigcommerce/webhooks/self::NAME

Fires when a product inventory webhooks has been received from the BigCommerce store.

Arguments

ArgumentTypeDescription
product_idintBigCommerce product ID.

Source: src/BigCommerce/Webhooks/Checkout_Complete_Webhook.php, line 28

bigcommerce/settings/webhoooks_updated

This hook is documented in src/BigCommerce/Webhooks/Webhook.php.

Arguments

No arguments.

Source: src/BigCommerce/Webhooks/Status.php, line 107

bigcommerce/webhooks/customer_updated

Source: src/BigCommerce/Webhooks/Customer/Customer_Update_Webhook.php, line 40

bigcommerce/webhooks/customer_created

Source: src/BigCommerce/Webhooks/Customer/Customer_Create_Webhook.php, line 37

self::HOOK

Source: src/BigCommerce/Webhooks/Customer/Customer_Channel_Webhook.php, line 42

bigcommerce/webhooks/customer_deleted

Source: src/BigCommerce/Webhooks/Customer/Customer_Delete_Webhook.php, line 38

bigcommerce/settings/import/product_list_table_notice

Displays the current import status notice in the product list table.

Arguments

No arguments.

Source: src/BigCommerce/Settings/Import_Now.php, line 177

bigcommerce/settings/before_title/page=static::NAME

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 133

bigcommerce/settings/register/screen=static::NAME

Triggered after registering a settings screen. The dynamic portion of the hook is the name of the screen.

Arguments

ArgumentTypeDescription
hook_suffixstringThe hook suffix generated for the screen
namestringThe name of the screen

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 177

bigcommerce/settings/after_start_form/page=static::NAME

Triggered after the opening

tag on the settings screen form finishes rendering.

The dynamic portion of the hook is the identifier of the settings screen.

Arguments

ArgumentTypeDescription
hook_suffixstringThe hook suffix generated for the screen

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 244

bigcommerce/settings/before_end_form/page=static::NAME

Triggered before the closing

tag on the settings screen form finishes rendering.

The dynamic portion of the hook is the identifier of the settings screen.

Arguments

ArgumentTypeDescription
hook_suffixstringThe hook suffix generated for the screen

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 259

bigcommerce/settings/before_form/page=static::NAME

Triggered before the settings screen form starts to render.

The dynamic portion of the hook is the identifier of the settings screen.

Arguments

ArgumentTypeDescription
hook_suffixstringThe hook suffix generated for the screen

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 304

bigcommerce/settings/after_form/page=static::NAME

Triggered after the settings screen form finishes rendering.

The dynamic portion of the hook is the identifier of the settings screen.

Arguments

ArgumentTypeDescription
hook_suffixstringThe hook suffix generated for the screen

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 319

bigcommerce/settings/section/before/id={$section}[id]

Fires before rendering a settings section.

The dynamic portion of the hook name is the section ID.

Arguments

ArgumentTypeDescription
sectionarray

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 344

bigcommerce/settings/section/after/id={$section}[id]

Fires after rendering a settings section.

The dynamic portion of the hook name is the section ID.

Arguments

ArgumentTypeDescription
sectionarray

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 360

bigcommerce/settings/section/before_title/id={$section}[id]

Fires before rendering the title of a settings section.

The dynamic portion of the hook name is the section ID.

Arguments

ArgumentTypeDescription
sectionarray

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 381

bigcommerce/settings/section/after_title/id={$section}[id]

Fires after rendering the title of a settings section.

The dynamic portion of the hook name is the section ID.

Arguments

ArgumentTypeDescription
sectionarray

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 393

bigcommerce/settings/section/before_callback/id={$section}[id]

Fires before calling the callback of a settings section.

The dynamic portion of the hook name is the section ID.

Arguments

ArgumentTypeDescription
sectionarray

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 417

bigcommerce/settings/section/after_callback/id={$section}[id]

Fires after calling the callback of a settings section.

The dynamic portion of the hook name is the section ID.

Arguments

ArgumentTypeDescription
sectionarray

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 429

bigcommerce/settings/section/before_fields/id={$section}[id]

Fires before rendering the fields of a settings section.

The dynamic portion of the hook name is the section ID.

Arguments

ArgumentTypeDescription
sectionarray
has_fieldsboolWhether the settings section has any fields to render

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 439

bigcommerce/settings/section/after_fields/id={$section}[id]

Fires after rendering the fields of a settings section.

The dynamic portion of the hook name is the section ID.

Arguments

ArgumentTypeDescription
sectionarray
has_fieldsboolWhether the settings section has any fields to render

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 454

bigcommerce/settings/unregistered_screen

Redirects to the appropriate screen when an unregistered screen is encountered.

Arguments

ArgumentTypeDescription
unregistered_screenstringThe name of the unregistered screen.

Source: src/BigCommerce/Settings/Screens/Abstract_Screen.php, line 481

bigcommerce/settings/onboarding/progress

Registers a callback to render the onboarding progress bar on the ‘bigcommerce/settings/onboarding/progress’ hook.

Arguments

ArgumentTypeDescription
progress_barcallableThe callback function to render the progress bar.
priorityintThe priority at which the callback should be executed. Defaults to 10.
accepted_argsintThe number of arguments the callback accepts. Defaults to 0.

Source: src/BigCommerce/Settings/Screens/Onboarding_Screen.php, line 18

bigcommerce/settings/after_content/page=static::NAME

Triggered before the settings screen form starts to render.

The dynamic portion of the hook is the identifier of the settings screen.

Arguments

ArgumentTypeDescription
hook_suffixstringThe hook suffix generated for the screen

Source: src/BigCommerce/Settings/Screens/Pending_Account_Screen.php, line 47

bigcommerce/create_account/validate_request

Validates the request for creating a new BigCommerce account.

This action is triggered when a request is made to create a new account. It validates the submission data and checks for any errors before processing the request.

Arguments

ArgumentTypeDescription
submissionarrayThe submitted data from the account creation form.
errorsarrayThe array of validation errors, if any.

Source: src/BigCommerce/Settings/Screens/Create_Account_Screen.php, line 79

bigcommerce/create_account/submit_request

Action to handle the submission of account creation requests.

This action processes data submitted for account creation, logs errors, and invokes the Create_Account service to handle the request.

Arguments

ArgumentTypeDescription
dataarraySubmitted data for account creation.
errorsarrayAn array of errors, if any, encountered during submission.

Source: src/BigCommerce/Settings/Screens/Create_Account_Screen.php, line 92

bigcommerce/settings/header/import_status

Triggered after rendering the last import date in the settings header

Arguments

No arguments.

Source: src/BigCommerce/Settings/Screens/Settings_Screen.php, line 64

bigcommerce/settings/render/channel_select

Source: src/BigCommerce/Settings/Sections/Channel_Select.php, line 71

bigcommerce/settings/render/gift_certificates

Source: src/BigCommerce/Settings/Sections/Gift_Certificates.php, line 34

bigcommerce/settings/render/nav_menu_options/top

Source: src/BigCommerce/Settings/Sections/Nav_Menu_Options.php, line 25

bigcommerce/settings/accounts/before_page_field

Source: src/BigCommerce/Settings/Sections/WithPages.php, line 17

bigcommerce/settings/accounts/before_page_field/page={$option}

Source: src/BigCommerce/Settings/Sections/WithPages.php, line 18

bigcommerce/settings/accounts/after_page_field

Source: src/BigCommerce/Settings/Sections/WithPages.php, line 38

bigcommerce/settings/accounts/after_page_field/page={$option}

Source: src/BigCommerce/Settings/Sections/WithPages.php, line 39

bigcommerce/settings/render/cart

Source: src/BigCommerce/Settings/Sections/Cart.php, line 149

bigcommerce/settings/render/accounts

Source: src/BigCommerce/Settings/Sections/Account_Settings.php, line 37

bigcommerce/sync_global_logins

Sync global logins with BigCommerce

Arguments

No arguments.

Source: src/BigCommerce/Settings/Sections/Account_Settings.php, line 149

bigcommerce/settings/render/analytics

Source: src/BigCommerce/Settings/Sections/Analytics.php, line 50

bigcommerce/channel/connection_changed

Triggered when the channel(s) connected to the site have changed

Arguments

ArgumentTypeDescription
channel\WP_TermThe Channel term updated
statusstringThe status set on the channel

Source: src/BigCommerce/Settings/Sections/Channels.php, line 304

Source: src/BigCommerce/Settings/Sections/Channels.php, line 322

Source: src/BigCommerce/Settings/Sections/Channels.php, line 364

bigcommerce/settings/render/currency

Source: src/BigCommerce/Settings/Sections/Currency.php, line 89

bigcommerce/settings/render/product_reviews

Source: src/BigCommerce/Settings/Sections/Reviews.php, line 29

bigcommerce/settings/render/credentials

Renders API credentials description for the credentials section.

Arguments

ArgumentTypeDescription
containerarrayDependency injection container.

Source: src/BigCommerce/Settings/Sections/Api_Credentials.php, line 31

bigcommerce/settings/api_credentials_updated

Fires (once per pageload) when an API credential setting updates.

Arguments

No arguments.

Source: src/BigCommerce/Settings/Sections/Api_Credentials.php, line 213

Webhook_Cron_Tasks::UPDATE_PRODUCT

Triggered by the cron task to update a product.

Handles the product update process for the specified product ID. Piggyback on the update handler already hooked in for handling webhook requests.

Arguments

ArgumentTypeDescription
product_idintThe ID of the product to update.

Source: src/BigCommerce/Post_Types/Product/Single_Product_Sync.php, line 122

bigcommerce/channel/error/could_not_fetch_listing

Error triggered when fetching a listing fails

Arguments

ArgumentTypeDescription
channel_idint
listing_idint
e\BigCommerce\Api\v3\ApiException

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 65

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 108

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 214

bigcommerce/channel/error/could_not_update_listing

Error triggered when updating a listing fails

Arguments

ArgumentTypeDescription
channel_idint
listing_idint
e\BigCommerce\Api\v3\ApiException

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 91

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 240

bigcommerce/query/sort

Source: src/BigCommerce/Post_Types/Product/Query.php, line 205

bigcommerce/channel/promote

Triggers the promotion of a channel to the “Primary” state

Arguments

ArgumentTypeDescription
term\WP_TermThe Channel term associated with the BigCommerce channel

Source: src/BigCommerce/Taxonomies/Channel/Channel_Connector.php, line 66

Source: src/BigCommerce/Taxonomies/Channel/Channel_Connector.php, line 148

bigcommerce/channel/error/could_not_create_channel

Source: src/BigCommerce/Taxonomies/Channel/Channel_Connector.php, line 109

bigcommerce/update_site_home/error

Source: src/BigCommerce/Taxonomies/Channel/Routes.php, line 128

bigcommerce/channel/error/could_not_update_route

Source: src/BigCommerce/Taxonomies/Channel/Routes.php, line 348

bigcommerce/action_endpoint/{$endpoint}

Action hook that handles requests for various endpoints.

For example, the hook is triggered when the bigcommerce/action_endpoint/<ACTION> endpoint for the Buy_Now action is called. This would process the Buy Now request and handles adding the item to the cart.

Arguments

ArgumentTypeDescription
argsarrayThe arguments passed to the action (e.g., product details).

Source: src/BigCommerce/Rewrites/Action_Endpoint.php, line 30

bigcommerce/form/action={$action}[bc-action]

Fires when a BigCommerce form action is submitted.

Arguments

ArgumentTypeDescription
submissionarrayThe sanitized form submission data (typically from $_REQUEST)

Source: src/BigCommerce/Container/Forms.php, line 125

bigcommerce/import/task_manager/init

Triggered when the task manager for the import has finished initializing

Arguments

ArgumentTypeDescription
manager\BigCommerce\Import\Task_ManagerThe task manager object

Source: src/BigCommerce/Container/Import.php, line 530

Filters

bigcommerce/onboarding/success_redirect

Filters onboarding success redirect.

Arguments

ArgumentTypeDescription
success_redirectstringURL.

Source: src/BigCommerce/Merchant/Connect_Account.php, line 75

Source: src/BigCommerce/Merchant/Account_Status.php, line 119

bigcommerce/onboarding/error_redirect

Filters onboarding error redirect.

Arguments

ArgumentTypeDescription
success_redirectstringURL.

Source: src/BigCommerce/Merchant/Connect_Account.php, line 84

Source: src/BigCommerce/Merchant/Account_Status.php, line 73

bigcommerce/oauth_connector/installation_url

Filters oauth connector installation url.

Arguments

ArgumentTypeDescription
urlstringUrl.

Source: src/BigCommerce/Merchant/Onboarding_Api.php, line 96

bigcommerce/settings/next-steps/required

Filter the array of next steps required for setting up the BigCommerce store.

Arguments

No arguments.

Source: src/BigCommerce/Merchant/Setup_Status.php, line 212

bigcommerce/settings/next-steps/optional

Filter the array of optional next steps for setting up the BigCommerce store.

Arguments

No arguments.

Source: src/BigCommerce/Merchant/Setup_Status.php, line 256

bigcommerce/logger/formatter

Source: src/BigCommerce/Logging/Error_Log.php, line 71

bigcommerce/logger/channel

Source: src/BigCommerce/Logging/Error_Log.php, line 74

bigcommerce/logger/handler

Source: src/BigCommerce/Logging/Error_Log.php, line 85

bigcommerce/logger/level

Filter the logging level. Defaults to ‘debug’.

Arguments

ArgumentTypeDescription
string|intThe logging level, as either a PSR-3 LogLevel string or a Monolog integer.

Source: src/BigCommerce/Logging/Error_Log.php, line 104

bigcommerce/css/customizer_styles

Filters customizer styles CSS.

Arguments

ArgumentTypeDescription
cssstringThe styles.

Source: src/BigCommerce/Customizer/Styles.php, line 67

bigcommerce/product/archive/sort_options

Filter the sorting options available in the BigCommerce catalog

Arguments

ArgumentTypeDescription
choicesarrayThe sorting options to use

Source: src/BigCommerce/Customizer/Sections/Product_Archive.php, line 261

bigcommerce/product/archive/filter_options

Filter the filtering options available in the BigCommerce catalog

Arguments

ArgumentTypeDescription
choicesarrayThe filtering options to use

Source: src/BigCommerce/Customizer/Sections/Product_Archive.php, line 316

bigcommerce/proxy/request_headers

Filter the request headers.

Arguments

ArgumentTypeDescription
arrayHeader KV pairs.
routestringRoute requested.
request\WP_REST_RequestAPI request.

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 280

bigcommerce/proxy/response_override

Filters whether the REST request should run.

Arguments

ArgumentTypeDescription
request\WP_REST_Request

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 307

bigcommerce/proxy/request

Filters a proxy REST request before it is run.

Arguments

ArgumentTypeDescription
request\WP_REST_RequestOriginal request.

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 324

bigcommerce/proxy/result_pre

Pre-fetch results. Can be from database or from cache.

Arguments

ArgumentTypeDescription
arrayEmpty array.
request\WP_REST_RequestAPI request.
arrayProxy configuration.

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 338

bigcommerce/proxy/result

Filter the response results before returning it.

Arguments

ArgumentTypeDescription
resultarray|\WP_ErrorResult from API call.
routestringRoute requested.
request\WP_REST_RequestAPI request.

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 388

bigcommerce/proxy/rest_response

Filter the WordPress REST response before it gets dispatched.

Arguments

ArgumentTypeDescription
rest_response\WP_REST_ResponseResponse to send back to request..
routestringRoute requested.
request\WP_REST_RequestAPI request.

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 399

bigcommerce/proxy/request_url

Filters proxy request url.

Arguments

ArgumentTypeDescription
routestringRequest url.
request\WP_REST_RequestRequest.

Source: src/BigCommerce/Proxy/Proxy_Controller.php, line 676

bigcommerce/currency/format

This filter is documented in src/BigCommerce/Currency/With_Currency.php.

Arguments

No arguments.

Source: src/BigCommerce/Cart/Cart_Mapper.php, line 262

Source: src/BigCommerce/Proxy/AMP_Cart_Controller.php, line 75

Source: src/BigCommerce/Proxy/AMP_Cart_Controller.php, line 141

Source: src/BigCommerce/Proxy/AMP_Cart_Controller.php, line 204

Source: src/BigCommerce/Cart/Cart_Mapper.php, line 363

Source: src/BigCommerce/Forms/Purchase_Gift_Certificate_Handler.php, line 183

Source: src/BigCommerce/Forms/Purchase_Gift_Certificate_Handler.php, line 187

Source: src/BigCommerce/Forms/Purchase_Gift_Certificate_Handler.php, line 218

Source: src/BigCommerce/Currency/With_Currency.php, line 24

Source: src/BigCommerce/Templates/Gift_Certificate_Balance_Response.php, line 37

Source: src/BigCommerce/Rest/Shipping_Controller.php, line 317

Source: src/BigCommerce/Rest/Coupon_Code_Controller.php, line 153

bigcommerce/cart/cart_id

Filter the cart ID to use for the current request.

Arguments

ArgumentTypeDescription
cart_idstringThe current cart ID.

Source: src/BigCommerce/Cart/Cart.php, line 60

bigcommerce/cart/cookie_lifetime

Filter how long the cart cookie should persist.

Arguments

ArgumentTypeDescription
lifetimeintThe cookie lifespan in seconds.

Source: src/BigCommerce/Cart/Cart.php, line 78

Filter the URL to the cart page

Arguments

ArgumentTypeDescription
urlstringThe URL to the cart page
page_idintThe ID of the cart page

Source: src/BigCommerce/Cart/Cart.php, line 268

Source: src/BigCommerce/Amp/Amp_Cart.php, line 84

bigcommerce/checkout/url

Filters checkout url.

Arguments

ArgumentTypeDescription
checkout_urlstringThe URL for checking out with the given cart.

Source: src/BigCommerce/Cart/Cart.php, line 296

Source: src/BigCommerce/Cart/Cart.php, line 325

Source: src/BigCommerce/Cart/Checkout.php, line 79

bigcommerce/currency/code

Filters the currency code.

This filter allows modification of the currency code being used. It returns the current currency code based on the configured currency.

Arguments

No arguments.

Source: src/BigCommerce/Cart/Cart.php, line 347

Source: src/BigCommerce/Forms/Switch_Currency_Handler.php, line 80

Source: src/BigCommerce/Widgets/Currency_Switcher_Widget.php, line 66

Source: src/BigCommerce/Rest/Pricing_Controller.php, line 88

Source: src/BigCommerce/Assets/Theme/JS_Config.php, line 70

bigcommerce/cart/mini-cart-enabled

Filter whether the mini-cart widget should be enabled on the current page

Arguments

ArgumentTypeDescription
enabledboolWhether the mini-cart is enabled

Source: src/BigCommerce/Cart/Mini_Cart.php, line 47

bigcommerce/cart_mapper/map

Filter mapped cart

Arguments

ArgumentTypeDescription
cartarrayCart data.

Source: src/BigCommerce/Cart/Cart_Mapper.php, line 109

bigcommerce/cart/menu/show_count

Filter whether the site should show the cart count on the menu item for the cart page.

Arguments

ArgumentTypeDescription
showboolWhether the cart count will be displayed

Source: src/BigCommerce/Cart/Cart_Menu_Item.php, line 73

bigcommerce/form/address/created_message

Filters address form created message.

Arguments

ArgumentTypeDescription
messagestringMessage.

Source: src/BigCommerce/Forms/Update_Address_Handler.php, line 66

bigcommerce/form/address/updated_message

Filters address form updated message.

Arguments

ArgumentTypeDescription
messagestringMessage.

Source: src/BigCommerce/Forms/Update_Address_Handler.php, line 74

bigcommerce/form/update_address/errors

Filters update profile address form errors.

Arguments

ArgumentTypeDescription
errors\WP_ErrorWP error.
submissionarraySubmitted data.

Source: src/BigCommerce/Forms/Update_Address_Handler.php, line 138

bigcommerce/form/redirect_url

Filter the redirect URL after a form submission.

Return false to abort the redirect.

Arguments

ArgumentTypeDescription
urlstringThe destination URL of the redirect.

Source: src/BigCommerce/Forms/Form_Redirect.php, line 23

bigcommerce/forms/show_messages

Source: src/BigCommerce/Forms/Messages.php, line 41

bigcommerce/forms/messages

Filter the feedback messages that will be rendered.

Arguments

ArgumentTypeDescription
messagesstringThe rendered messages.

Source: src/BigCommerce/Forms/Messages.php, line 45

Source: src/BigCommerce/Templates/Review_Form.php, line 101

bigcommerce/forms/show_error_messages

Source: src/BigCommerce/Forms/Messages.php, line 97

bigcommerce/forms/show_success_messages

Source: src/BigCommerce/Forms/Messages.php, line 139

bigcommerce/messages/success/arguments

Filter the arguments passed to the success message template.

Arguments

ArgumentTypeDescription
argsarrayThe arguments that will be passed.
dataarrayThe data that was stored with the message.

Source: src/BigCommerce/Forms/Messages.php, line 150

bigcommerce/form/delete_address/errors

Filters delete address form errors.

Arguments

ArgumentTypeDescription
errors\WP_ErrorWP error.
submissionarraySubmitted data.

Source: src/BigCommerce/Forms/Delete_Address_Handler.php, line 83

bigcommerce/user/default_role

This filter is documented in src/BigCommerce/Accounts/Login.php

Arguments

No arguments.

Source: src/BigCommerce/Forms/Registration_Handler.php, line 146

Source: src/BigCommerce/Accounts/Login.php, line 237

Source: src/BigCommerce/Accounts/Login.php, line 453

Source: src/BigCommerce/Webhooks/Customer/Customer_Creator.php, line 62

bigcommerce/form/registration/success_message

The message to display when an account is created

Arguments

ArgumentTypeDescription
messagestring

Source: src/BigCommerce/Forms/Registration_Handler.php, line 164

bigcommerce/form/registration/errors

Filters update registration form errors.

Arguments

ArgumentTypeDescription
errors\WP_ErrorWP error.
submissionarraySubmitted data.

Source: src/BigCommerce/Forms/Registration_Handler.php, line 256

bigcommerce/form/currency_switch/success_message

The message to display on currency switch

Arguments

ArgumentTypeDescription
messagestring

Source: src/BigCommerce/Forms/Switch_Currency_Handler.php, line 97

bigcommerce/form/switch_currency/errors

Source: src/BigCommerce/Forms/Switch_Currency_Handler.php, line 146

bigcommerce/form/review/status

Source: src/BigCommerce/Forms/Product_Review_Handler.php, line 74

bigcommerce/form/review/created_message

Filters review form created message.

Arguments

ArgumentTypeDescription
messagestringMessage displayed after review submission.

Source: src/BigCommerce/Forms/Product_Review_Handler.php, line 96

bigcommerce/product/reviews/show_form

Source: src/BigCommerce/Forms/Product_Review_Handler.php, line 123

Source: src/BigCommerce/Templates/Product_Reviews.php, line 73

bigcommerce/form/review/errors

Filters update review form errors.

Arguments

ArgumentTypeDescription
errors\WP_ErrorWP error.
submissionarraySubmitted data.

Source: src/BigCommerce/Forms/Product_Review_Handler.php, line 155

bigcommerce/form/profile/success_message

Filters profile form success message.

Arguments

ArgumentTypeDescription
messagestringProfile form success message.

Source: src/BigCommerce/Forms/Update_Profile_Handler.php, line 93

bigcommerce/form/update_profile/errors

Filters update profile form errors.

Arguments

ArgumentTypeDescription
errors\WP_ErrorWP error.
submissionarraySubmitted data.

Source: src/BigCommerce/Forms/Update_Profile_Handler.php, line 157

bigcommerce/form/gift_certificate/success_message

The message to display when a gift certificate is added to the cart

Arguments

ArgumentTypeDescription
messagestring

Source: src/BigCommerce/Forms/Purchase_Gift_Certificate_Handler.php, line 110

bigcommerce/form/gift_certificate/errors

Filters update gift certificates form errors.

Arguments

ArgumentTypeDescription
errors\WP_ErrorWP error.
submissionarraySubmitted data.

Source: src/BigCommerce/Forms/Purchase_Gift_Certificate_Handler.php, line 199

bigcommerce/gift_certificates/theme

Filters gift certificates theme.

Arguments

ArgumentTypeDescription
themestringTheme.

Source: src/BigCommerce/Forms/Purchase_Gift_Certificate_Handler.php, line 223

bigcommerce/pages/matching_page_candidates

Filters pages matching page candidates.

Arguments

ArgumentTypeDescription
post_idsarrayPost ids.
namestringName.

Source: src/BigCommerce/Pages/Shipping_Returns_Page.php, line 83

Source: src/BigCommerce/Pages/Required_Page.php, line 208

Source: src/BigCommerce/Pages/Checkout_Complete_Page.php, line 70

bigcommerce/pages/insert_post_args

Filters pages insert post arguments.

Arguments

ArgumentTypeDescription
argsarrayArguments.
namestringName.

Source: src/BigCommerce/Pages/Required_Page.php, line 223

wp_edit_nav_menu_walker

This filter is documented in wp-admin/includes/nav-menu.php

Arguments

No arguments.

Source: src/BigCommerce/Nav_Menu/Nav_Items_Meta_Box.php, line 204

bigcommerce/gql/query_file_path

Source: src/BigCommerce/GraphQL/GraphQL_Processor.php, line 280

bigcommerce/settings/currency/auto-format

Filter whether to apply auto-formatting to currencies.

Arguments

ArgumentTypeDescription
auto_formatboolWhether to enable auto-formatting.

Source: src/BigCommerce/Currency/Formatter_Factory.php, line 49

bigcommerce/currency/cookie_lifetime

Filters the lifetime of the currency code cookie.

Arguments

ArgumentTypeDescription
lifetimeintThe cookie lifespan in seconds.

Source: src/BigCommerce/Currency/Currency.php, line 93

bigcommerce/product/reviews/show_reviews

Source: src/BigCommerce/Templates/Product_Single.php, line 157

bigcommerce/template/wishlist/user/image_size

Source: src/BigCommerce/Templates/Wishlist_Product.php, line 46

bigcommerce/rest/proxy_base

Filters the REST base use for proxy API requests.

Arguments

ArgumentTypeDescription
stringDefault ‘bc/v3’.

Source: src/BigCommerce/Container/Proxy.php, line 81

Source: src/BigCommerce/Templates/Amp_Cart_Summary.php, line 34

Source: src/BigCommerce/Templates/Amp_Cart_items.php, line 37

bigcommerce/product/inventory/should_display

Filter whether to display inventory for a product

Arguments

ArgumentTypeDescription
showboolWhether to show the inventory level
product\BigCommerce\Post_Types\Product\ProductThe product being displayed

Source: src/BigCommerce/Templates/Inventory_Level.php, line 76

bigcommerce/address/default_state

This filter is documented in src/BigCommerce/Templates/Address_Form.php

Arguments

No arguments.

Source: src/BigCommerce/Settings/Sections/New_Account_Section.php, line 123

Source: src/BigCommerce/Templates/Address_Form.php, line 43

Source: src/BigCommerce/Templates/Registration_Form.php, line 38

bigcommerce/address/default_country

This filter is documented in src/BigCommerce/Templates/Address_Form.php

Arguments

No arguments.

Source: src/BigCommerce/Settings/Sections/New_Account_Section.php, line 127

Source: src/BigCommerce/Templates/Address_Form.php, line 50

Source: src/BigCommerce/Templates/Registration_Form.php, line 42

Source: src/BigCommerce/Settings/Sections/New_Account_Section.php, line 155

bigcommerce/countries/data

Filters countries data.

Arguments

ArgumentTypeDescription
countriesarrayCountries.

Source: src/BigCommerce/Templates/Address_Form.php, line 74

Source: src/BigCommerce/Templates/Shipping_Methods.php, line 33

Source: src/BigCommerce/Templates/Registration_Form.php, line 49

Source: src/BigCommerce/Settings/Sections/New_Account_Section.php, line 183

bigcommerce/template/gallery/image_size

Filter the image size used for product gallery images

Arguments

ArgumentTypeDescription
sizestringThe image size to use

Source: src/BigCommerce/Templates/Product_Gallery.php, line 54

Source: src/BigCommerce/Templates/Product_Options.php, line 247

Source: src/BigCommerce/Shortcodes/Product_Components.php, line 134

bigcommerce/template/gallery/thumbnail_size

Filter the image size used for product gallery image thumbnails

Arguments

ArgumentTypeDescription
sizestringThe image size to use

Source: src/BigCommerce/Templates/Product_Gallery.php, line 77

bigcommerce/template/gallery/zoom_size

Filter the image size used for product gallery image thumbnails

Arguments

ArgumentTypeDescription
sizestringThe image size to use

Source: src/BigCommerce/Templates/Product_Gallery.php, line 86

Source: src/BigCommerce/Templates/Product_Options.php, line 254

bigcommerce/wishlist/detail/actions

Filter the action links that are displayed on a wishlist detail page

Arguments

ArgumentTypeDescription
actionsstring[]The rendered action links
wishlist\BigCommerce\Accounts\Wishlists\WishlistThe wishlist being rendered

Source: src/BigCommerce/Templates/Wishlist_Detail_Header.php, line 74

bigcommerce/template/image/fallback

Filter the fallback image for products without a featured image

Arguments

ArgumentTypeDescription
imagestringThe fallback image HTML

Source: src/BigCommerce/Templates/Fallback_Image.php, line 47

bigcommerce/wishlist/list/actions

Filter the action links that are displayed on a wishlist detail page

Arguments

ArgumentTypeDescription
actionsstring[]The rendered action links
wishlist\BigCommerce\Accounts\Wishlists\WishlistThe wishlist being rendered

Source: src/BigCommerce/Templates/Wishlist_List_Row.php, line 72

bigcommerce/template/directory/theme

This filter is documented in src/BigCommerce/Templates/Controller.php

Arguments

No arguments.

Source: src/BigCommerce/Templates/Template_Override.php, line 215

Source: src/BigCommerce/Templates/Template_Override.php, line 164

Source: src/BigCommerce/Templates/Controller.php, line 138

Source: src/BigCommerce/Settings/Sections/Troubleshooting_Diagnostics.php, line 565

Source: src/BigCommerce/Settings/Sections/Troubleshooting_Diagnostics.php, line 658

Source: src/BigCommerce/Amp/Amp_Template_Override.php, line 53

bigcommerce/template/directory/plugin

This filter is documented in src/BigCommerce/Templates/Controller.php

Arguments

No arguments.

Source: src/BigCommerce/Templates/Template_Override.php, line 223

Source: src/BigCommerce/Templates/Controller.php, line 144

Source: src/BigCommerce/Amp/Amp_Template_Override.php, line 61

bigcommerce/template/path

Filter the path to a template

Arguments

ArgumentTypeDescription
pathstringThe absolute path to the template
relative_pathstringThe relative path of the requested template

Source: src/BigCommerce/Templates/Controller.php, line 161

Source: src/BigCommerce/Templates/Template_Override.php, line 231

bigcommerce/template/product_archive/thumbnail_size

Source: src/BigCommerce/Templates/Product_Archive.php, line 37

bigcommerce/template/product_list/none_option_label

Source: src/BigCommerce/Templates/Option_Types/Option_Product_List.php, line 57

bigcommerce/cart/continue_shopping_url

Filter the destination of the Continue Shopping link in an empty cart

Arguments

ArgumentTypeDescription
urlstring

Source: src/BigCommerce/Templates/Cart_Empty.php, line 45

bigcommerce/cart/continue_shopping_text

Filter the wording of the Continue Shopping link in an empty cart

Arguments

ArgumentTypeDescription
link_textstring

Source: src/BigCommerce/Templates/Cart_Empty.php, line 56

bigcommerce/template/order_history/image_size

Source: src/BigCommerce/Templates/Order_Summary.php, line 52

Source: src/BigCommerce/Templates/Order_Product.php, line 41

bigcommerce/template/order_history/date_format

Source: src/BigCommerce/Templates/Order_Summary.php, line 58

bigcommerce/order/include_tax_in_subtotal

Filters order included tax subtotal.

Arguments

ArgumentTypeDescription
boolboolTrue or false, default false.
orderarrayOrder.

Source: src/BigCommerce/Templates/Order_Summary.php, line 73

bigcommerce/order/payment_method_label

Filter the label displayed for a payment method

Arguments

ArgumentTypeDescription
labelstringThe label to display
methodstringThe payment method name

Source: src/BigCommerce/Templates/Order_Summary.php, line 239

bigcommerce/order/support_email

Filter the support email address displayed on order detail pages.

If empty, no email will display.

Arguments

ArgumentTypeDescription
email_addressstringThe email address to display, defaults to the value set on the BigCommerce setting screen

Source: src/BigCommerce/Templates/Order_Summary.php, line 249

bigcommerce/query/default_sort

This filter is documents in src/BigCommerce/Post_Types/Product/Query.php

Arguments

No arguments.

Source: src/BigCommerce/Templates/Refinery.php, line 108

Source: src/BigCommerce/Post_Types/Product/Query.php, line 76

bigcommerce/template/controller_factory

Filter the factory class that instantiates template controllers

Arguments

ArgumentTypeDescription
factory\BigCommerce\Templates\Controller_FactoryThe instance of the factory class
classnamestringThe name of the requested class

Source: src/BigCommerce/Templates/Controller.php, line 39

bigcommerce/template/options

Filter the options passed in to a template controller

Arguments

ArgumentTypeDescription
optionsarrayThe options for the template
templatestringThe template path

Source: src/BigCommerce/Templates/Controller.php, line 61

bigcommerce/template={$this->template}/options

Filter the options passed in to a template controller

Arguments

ArgumentTypeDescription
optionsarrayThe options for the template
templatestringThe template path

Source: src/BigCommerce/Templates/Controller.php, line 68

bigcommerce/template/data

Filter the data passed in to a template

Arguments

ArgumentTypeDescription
dataarrayThe data for the template
templatestringThe template path
optionsarrayThe options from the template controller

Source: src/BigCommerce/Templates/Controller.php, line 94

bigcommerce/template={$this->template}/data

Filter the data passed in to a template

Arguments

ArgumentTypeDescription
dataarrayThe data for the template
templatestringThe template path
optionsarrayThe options from the template controller

Source: src/BigCommerce/Templates/Controller.php, line 102

bigcommerce/template={$this->template}/output

Filter the rendered output of the template

Arguments

ArgumentTypeDescription
outputstringThe rendered template
templatestringThe template path
dataarrayThe data passed to the template
optionsarrayThe options from the template controller

Source: src/BigCommerce/Templates/Controller.php, line 111

bigcommerce/template={$this->template}/path

Filter the path to a template

Arguments

ArgumentTypeDescription
pathstringThe absolute path to the template
relative_pathstringThe relative path of the requested template

Source: src/BigCommerce/Templates/Controller.php, line 168

bigcommerce/template/wrapper/tag

Source: src/BigCommerce/Templates/Controller.php, line 195

bigcommerce/template/wrapper/classes

Filter the HTML tag of the wrapper for a template

Arguments

ArgumentTypeDescription
classesstring[]An array of class names
templatestringThe template path

Source: src/BigCommerce/Templates/Controller.php, line 200

bigcommerce/template/wrapper/attributes

Filter the HTML tag attributes of the wrapper for a template.

Arguments

ArgumentTypeDescription
attributesstring[]An array of attribute names.
templatestringThe template path.

Source: src/BigCommerce/Templates/Controller.php, line 209

bigcommerce/units/mass

Filters units mass.

Arguments

ArgumentTypeDescription
mass_unitstringMass unit.

Source: src/BigCommerce/Templates/Product_Specs.php, line 40

bigcommerce/units/length

Filters units mass.

Arguments

ArgumentTypeDescription
length_unitstringLength unit.

Source: src/BigCommerce/Templates/Product_Specs.php, line 46

bigcommerce/product/specs

Filters product specs.

Arguments

ArgumentTypeDescription
specsarraySpecs.
product\BigCommerce\Post_Types\Product\ProductProduct.

Source: src/BigCommerce/Templates/Product_Specs.php, line 76

bigcommerce/gift_certificates/themes

Filters gift certificates themes.

Arguments

ArgumentTypeDescription
gift_certificate_themesarrayThemes.

Source: src/BigCommerce/Templates/Gift_Certificate_Form.php, line 57

bigcommerce/product/variant_price

Source: src/BigCommerce/Templates/Product_Options.php, line 196

bigcommerce/template/featured_image/size

Source: src/BigCommerce/Templates/Product_Featured_Image.php, line 34

bigcommerce/form/state/errors

Filters form state errors.

Arguments

ArgumentTypeDescription
error_dataarray|nullError data.

Source: src/BigCommerce/Templates/Form_Controller.php, line 18

bigcommerce_modified_product_ids

Filters modified product ids.

Arguments

ArgumentTypeDescription
modified_product_idsarrayProduct ids.

Source: src/BigCommerce/Import/Processors/Listing_Fetcher.php, line 65

bigcommerce/import/product/post_array

Filters the product post array before saving.

Arguments

ArgumentTypeDescription
postarrarrayThe post data array.

Source: src/BigCommerce/Import/Importers/Products/Product_Saver.php, line 120

bigcommerce/import/strategy/needs_refresh

Filter whether the product should be refreshed

Arguments

ArgumentTypeDescription
responseboolWhether the product should be refreshed
post_idintThe ID of the product post
product\BigCommerce\Api\v3\Model\ProductThe product data from the API
listing\BigCommerce\Api\v3\Model\ListingThe channel listing data from the API
versionstringThe version of the importer

Source: src/BigCommerce/Import/Importers/Products/Product_Strategy_Factory.php, line 125

bigcommerce/import/product/menu_order

Filter the menu order assigned to the product, based on the source product’s sort_order property.

Arguments

ArgumentTypeDescription
menu_orderintThe menu order to assign
product\BigCommerce\Api\v3\Model\ProductThe source product

Source: src/BigCommerce/Import/Importers/Products/Product_Builder.php, line 167

bigcommerce/import/product/import_images

Source: src/BigCommerce/Import/Importers/Products/Product_Builder.php, line 281

bigcommerce/sku/normalized/segment/num_of_characters

Filters normalized SKU segment’s no of chars.

Arguments

ArgumentTypeDescription
num_of_charactersintNo of chars.

Source: src/BigCommerce/Import/Importers/Products/Product_Builder.php, line 470

bigcommerce/sku/normalized/empty

Filters normalized empty SKU.

Arguments

ArgumentTypeDescription
repeated_stringstringempty sku.

Source: src/BigCommerce/Import/Importers/Products/Product_Builder.php, line 477

bigcommerce/sku/normalized

Filters SKU normalized.

Arguments

ArgumentTypeDescription
normalized_sku_segmentsarraySKU segments.
skustringSKU.

Source: src/BigCommerce/Import/Importers/Products/Product_Builder.php, line 485

bigcommerce/import/strategy/term/needs_refresh

Filter whether the term should be refreshed

Arguments

ArgumentTypeDescription
responseboolWhether the term should be refreshed
term_idintThe ID of the term
bc_termarrayThe term data from the API
versionstringThe version of the importer

Source: src/BigCommerce/Import/Importers/Terms/Term_Strategy_Factory.php, line 87

bigcommerce/import/term/data

Filter category data before importing.

This filter modifies the category data based on the BigCommerce category ID.

Arguments

ArgumentTypeDescription
dataarrayThe original category data.
bc_category_idintThe BigCommerce category ID.
dataarrayThe filtered category data after applying the filter.

Source: src/BigCommerce/Import/Importers/Terms/Term_Saver.php, line 230

bigcommerce/customer/group_info_cache_expiration

Filter the duration of the group info cache.

Arguments

ArgumentTypeDescription
expirationintTime until expiration, in seconds.
group_idintThe ID of the group being cached.

Source: src/BigCommerce/Accounts/Customer_Group_Proxy.php, line 72

bigcommerce/customer/group_info

Filters customer group info.

Arguments

ArgumentTypeDescription
default_grouparrayThe default group data.
group_idintThe group ID.

Source: src/BigCommerce/Accounts/Customer_Group.php, line 41

bigcommerce/customer/create/args

Filters customer create arguments.

Arguments

ArgumentTypeDescription
new_customer_dataarrayCustomer data.

Source: src/BigCommerce/Accounts/Login.php, line 102

Source: src/BigCommerce/Accounts/Register.php, line 147

Filter the URL to the account profile page

Arguments

ArgumentTypeDescription
urlstringThe account profile page URL

Source: src/BigCommerce/Accounts/Login.php, line 354

bigcommerce/accounts/login/delete_missing_user

Source: src/BigCommerce/Accounts/Login.php, line 539

bigcommerce/account/do_subnav

Source: src/BigCommerce/Accounts/Sub_Nav.php, line 45

Filter the links that show in the account subnav.

Arguments

ArgumentTypeDescription
linksarray[]Each link will have the properties:
url - The URL of the link.
label - The label of the link.
current - Whether the link is to the current page.

Source: src/BigCommerce/Accounts/Sub_Nav.php, line 94

bigcommerce/wishlist/items

Filter the product IDs in the wishlist

Arguments

ArgumentTypeDescription
product_idsint[]The list of product IDs.
wishlist\BigCommerce\Accounts\Wishlists\WishlistThe wishlist object.

Source: src/BigCommerce/Accounts/Wishlists/Wishlist.php, line 100

bigcommerce/wishlist/public-url

Filter the URL for a public wishlist

Arguments

ArgumentTypeDescription
urlstringThe wishlist URL.
wishlist\BigCommerce\Accounts\Wishlists\WishlistThe wishlist object.

Source: src/BigCommerce/Accounts/Wishlists/Wishlist.php, line 144

bigcommerce/wishlist/user-url

Filter the URL for a user to manage a wishlist.

Arguments

ArgumentTypeDescription
urlstringThe wishlist URL.
wishlist\BigCommerce\Accounts\Wishlists\WishlistThe wishlist object.

Source: src/BigCommerce/Accounts/Wishlists/Wishlist.php, line 167

bigcommerce/wishlist/edit-url

Filter the URL for posting an update to a wishlist’s settings.

Arguments

ArgumentTypeDescription
urlstringThe form handler URL.
wishlist\BigCommerce\Accounts\Wishlists\WishlistThe wishlist object.

Source: src/BigCommerce/Accounts/Wishlists/Wishlist.php, line 184

bigcommerce/wishlist/delete-url

Filter the URL for deleting a wishlist.

Arguments

ArgumentTypeDescription
urlstringThe form handler URL.
wishlist\BigCommerce\Accounts\Wishlists\WishlistThe wishlist object.

Source: src/BigCommerce/Accounts/Wishlists/Wishlist.php, line 201

bigcommerce/wishlist/add-item-url

Filter the URL for adding an item to a wishlist.

Arguments

ArgumentTypeDescription
urlstringThe form handler URL.
wishlist\BigCommerce\Accounts\Wishlists\WishlistThe wishlist object.
product_idintThe ID of the product to add.

Source: src/BigCommerce/Accounts/Wishlists/Wishlist.php, line 222

bigcommerce/wishlist/remove-item-url

Filter the URL for removing an item from a wishlist.

Arguments

ArgumentTypeDescription
urlstringThe form handler URL.
wishlist\BigCommerce\Accounts\Wishlists\WishlistThe wishlist object.
product_idintThe ID of the product to remove.

Source: src/BigCommerce/Accounts/Wishlists/Wishlist.php, line 244

bigcommerce/wishlist/create-url

Filter the URL for creating a wishlist.

Arguments

ArgumentTypeDescription
urlstringThe form handler URL.

Source: src/BigCommerce/Accounts/Wishlists/Wishlist.php, line 262

bigcommerce/order/products

Filters order products

Arguments

ArgumentTypeDescription
productsarrayProducts.
order_idintOrder ID.
customer\BigCommerce\Accounts\CustomerThe Customer object.

Source: src/BigCommerce/Accounts/Customer.php, line 245

bigcommerce/order/shipping_addresses

Filters order shipping addresses

Arguments

ArgumentTypeDescription
addressesarrayThe shipping addresses.
order_idintOrder ID.
customer\BigCommerce\Accounts\CustomerThe Customer object.

Source: src/BigCommerce/Accounts/Customer.php, line 266

bigcommerce/customer/empty_profile

Filter the base fields found in a customer profile

Arguments

ArgumentTypeDescription
fieldsarray

Source: src/BigCommerce/Accounts/Customer.php, line 296

bigcommerce/customer/group_id

This filter is documented in src/BigCommerce/Accounts/Customer.php

Arguments

No arguments.

Source: src/BigCommerce/Accounts/Customer.php, line 374

Source: src/BigCommerce/Accounts/Customer.php, line 401

bigcommerce/nav/logout/title

Filters the title of the Sign Out link in the navigation menu.

Arguments

ArgumentTypeDescription
titlestringThe menu item title.
menu_item\WP_PostThe menu item, a \WP_Post that has passed through wp_setup_nav_menu_item().

Source: src/BigCommerce/Accounts/Nav_Menu.php, line 58

bigcommerce/nav/account/title

Filters the title of the My Account link in the navigation menu.

Arguments

ArgumentTypeDescription
titlestringThe menu item title.
menu_item\WP_PostThe menu item, a \WP_Post that has passed through wp_setup_nav_menu_item().

Source: src/BigCommerce/Accounts/Nav_Menu.php, line 82

bigcommerce/plugin/providers

Filter the service providers the power the plugin

Arguments

ArgumentTypeDescription
providers\BigCommerce\Container\Provider[]

Source: src/BigCommerce/Plugin.php, line 89

bigcommerce/plugin/credentials_set

Filters the credentials set

Arguments

ArgumentTypeDescription
setboolfalse

Source: src/BigCommerce/Plugin.php, line 126

widget_title

This filter is documented in wp-includes/widgets/class-wp-widget-pages.php

Arguments

No arguments.

Source: src/BigCommerce/Widgets/Currency_Switcher_Widget.php, line 45

Source: src/BigCommerce/Widgets/Product_Category_Widget.php, line 41

Source: src/BigCommerce/Widgets/Mini_Cart_Widget.php, line 43

bigcommerce/currency/enabled

Source: src/BigCommerce/Widgets/Currency_Switcher_Widget.php, line 65

bigcommerce/widget/categories/dropdown_args

Source: src/BigCommerce/Widgets/Product_Category_Widget.php, line 120

bigcommerce/widget/categories/list_args

Source: src/BigCommerce/Widgets/Product_Category_Widget.php, line 155

bigcommerce/editor/shortcode_button/label

Filter the label of the Add Products button.

Arguments

ArgumentTypeDescription
labelstringThe button label.

Source: src/BigCommerce/Editor/Add_Products_Button.php, line 44

bigcommerce/pricing/customer_group_id

Filter the customer group ID passed to the BigCommerce API.

Null to use the default guest group. 0 to use unmodified catalog pricing.

Arguments

ArgumentTypeDescription
int|nullThe customer group ID

Source: src/BigCommerce/Rest/Pricing_Controller.php, line 81

bigcommerce/pricing/request_args

Filters pricing request arguments.

Arguments

ArgumentTypeDescription
argsarrayArguments.
request\WP_REST_RequestFull details about the request.

Source: src/BigCommerce/Rest/Pricing_Controller.php, line 96

bigcommerce/rest/shortcode/prepare_item_for_response

Filters the product data for a response.

Arguments

ArgumentTypeDescription
response\WP_REST_ResponseThe response object.
post\WP_PostPost object.
request\WP_REST_RequestRequest object.

Source: src/BigCommerce/Rest/Shortcode_Controller.php, line 150

bigcommerce/rest/shortcode/selection

Filters rest shortcode selection.

Arguments

ArgumentTypeDescription
argsarrayArguments.
request\WP_REST_Requestrequest.

Source: src/BigCommerce/Rest/Shortcode_Controller.php, line 199

bigcommerce/rest/shortcode/query

Filters rest shortcode query.

Arguments

ArgumentTypeDescription
argsarrayArguments.
request\WP_REST_Requestrequest.

Source: src/BigCommerce/Rest/Shortcode_Controller.php, line 265

bigcommerce/rest/products_query

Filters rest products query.

Arguments

ArgumentTypeDescription
argsarrayArguments.
request\WP_REST_Requestrequest.

Source: src/BigCommerce/Rest/Products_Controller.php, line 289

bigcommerce/rest/products/prepare_item_for_response

Filters the product data for a response.

Arguments

ArgumentTypeDescription
response\WP_REST_ResponseThe response object.
post\WP_PostPost object.
request\WP_REST_RequestRequest object.

Source: src/BigCommerce/Rest/Products_Controller.php, line 513

the_content

Filters the content to render messages above the main content.

Arguments

ArgumentTypeDescription
contentstringThe post content.

Source: src/BigCommerce/Rest/Products_Controller.php, line 589

bigcommerce/rest/product/content_trim_words_length

Source: src/BigCommerce/Rest/Products_Controller.php, line 602

bigcommerce/rest/missing_image

Filters rest missing image data.

Arguments

ArgumentTypeDescription
missing_image_dataarrayData.

Source: src/BigCommerce/Rest/Products_Controller.php, line 658

bigcommerce/rest/image_sizes

Filters rest image sizes.

Arguments

ArgumentTypeDescription
sizesarraySizes.

Source: src/BigCommerce/Rest/Products_Controller.php, line 822

bigcommerce/webhooks/registration_args

Filter the arguments sent to the BigCommerce API to register a webhook

Arguments

No arguments.

Source: src/BigCommerce/Webhooks/Webhook.php, line 138

bigcommerce/product_description/allowed_html

Filters product description’s allowed html

Arguments

ArgumentTypeDescription
allowed_html_tagsarrayAllowed HTML tags.

Source: src/BigCommerce/Util/Kses.php, line 19

bigcommerce/settings/import_status/current

Source: src/BigCommerce/Settings/Import_Status.php, line 226

bigcommerce/settings/import_status/previous

Source: src/BigCommerce/Settings/Import_Status.php, line 295

Source: src/BigCommerce/Settings/Import_Status.php, line 319

bigcommerce/settings/connect_account_url

Filters settings connect account url.

Arguments

ArgumentTypeDescription
connect_account_urlstringConnect account url.

Source: src/BigCommerce/Settings/Screens/Welcome_Screen.php, line 42

bigcommerce/settings/create_account_url

Filters settings create account url.

Arguments

ArgumentTypeDescription
create_account_urlstringCreate account url.

Source: src/BigCommerce/Settings/Screens/Welcome_Screen.php, line 51

bigcommerce/settings/credentials_url

Filters settings credential url.

Arguments

ArgumentTypeDescription
credential_urlstringCredential url.

Source: src/BigCommerce/Settings/Screens/Welcome_Screen.php, line 60

bigcommerce/settings/welcome/notices

Filter the array of notices and promotions displayed on the plugin welcome screen. The expected data is an array of arrays, each with a ‘title’ and ‘content’ key. The values of those keys should be HTML-safe strings.

The ‘title’ will be output inside an h3 tag. The ‘content’ will be output inside a div tag.

Arguments

ArgumentTypeDescription
noticesarray

Source: src/BigCommerce/Settings/Screens/Welcome_Screen.php, line 73

bigcommerce/settings/default_new_menu_name

Filter the default name to give to an automatically generated navigation menu when the user does not provide a value.

Arguments

ArgumentTypeDescription
namestringThe menu name

Source: src/BigCommerce/Settings/Screens/Nav_Menu_Screen.php, line 178

bigcommerce/settings/header/welcome_message

Filters the message that displays at the top of the settings page

Arguments

ArgumentTypeDescription
welcome_messagestring

Source: src/BigCommerce/Settings/Screens/Settings_Screen.php, line 36

bigcommerce/api/timeout

Filter the API connection timeout

Arguments

ArgumentTypeDescription
timeoutintThe timeout in seconds

Source: src/BigCommerce/Container/Api.php, line 181

Source: src/BigCommerce/Settings/Screens/Api_Credentials_Screen.php, line 87

bigcommerce/settings/settings_url

Filters settings url.

Arguments

ArgumentTypeDescription
settings_urlstringSettings url.

Source: src/BigCommerce/Settings/Screens/Onboarding_Complete_Screen.php, line 83

bigcommerce/settings/resources_url

Filters resources url.

Arguments

ArgumentTypeDescription
resources_urlstringResources url.

Source: src/BigCommerce/Settings/Screens/Onboarding_Complete_Screen.php, line 96

bigcommerce/documentation/url

Filters documentation url.

Arguments

ArgumentTypeDescription
documentation_urlstringDocumentation url.

Source: src/BigCommerce/Settings/Screens/Onboarding_Complete_Screen.php, line 105

bigcommerce/settings/resources/url

Filters the URL for fetching the resource data displayed on the admin Resources screen.

Return an empty string to short-circuit the request and render the default resources.

Arguments

ArgumentTypeDescription
urlstringThe URL to the resources JSON data

Source: src/BigCommerce/Settings/Screens/Resources_Screen.php, line 52

bigcommerce/settings/resources/default

Filter the default resources to display on the Resources admin page.

Arguments

ArgumentTypeDescription
defaultarrayThe default data array.

Source: src/BigCommerce/Settings/Screens/Resources_Screen.php, line 119

bigcommerce/settings/onboarding/steps

Filters the list of steps in the onboarding progress bar.

Arguments

ArgumentTypeDescription
stepsarray[]The steps in the process. Properties:
- label string The label for the step
- active bool Whether the step is currently active
stateintThe current onboarding status

Source: src/BigCommerce/Settings/Onboarding_Progress.php, line 75

bigcommerce/checkout/can_embed

Filters whether checkout can embed or not.

Arguments

ArgumentTypeDescription
permittedboolCan embed or not.

Source: src/BigCommerce/Settings/Sections/Cart.php, line 174

bigcommerce/diagnostics

Filter the list of diagnostic data

Arguments

ArgumentTypeDescription
diagnosticsarray

Source: src/BigCommerce/Settings/Sections/Troubleshooting_Diagnostics.php, line 472

bigcommerce/settings/api/disabled/field={$option}

Filter whether to disable the API settings field

Arguments

ArgumentTypeDescription
disabledbool|stringEmpty if the field should be enabled, a string indicating why it’s disabled otherwise.

Source: src/BigCommerce/Settings/Sections/Api_Credentials.php, line 129

bigcommerce/onboarding/reset

Filters the URL to reset onboarding progress.

Arguments

ArgumentTypeDescription
urlstringThe default URL for resetting onboarding.

Source: src/BigCommerce/Settings/Start_Over.php, line 82

bigcommerce/channel/listing/should_update

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 50

bigcommerce/channel/listing/state

Filter the state to set on the channel listing for the product

Arguments

ArgumentTypeDescription
statestringThe listing state to set
post_idintThe ID of the product post in WordPress
listing\BigCommerce\Api\v3\Model\ListingThe listing from BigCommerce that will be updated

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 146

bigcommerce/channel/listing/title

Filter the title to set on the channel listing for the product

Arguments

ArgumentTypeDescription
titlestringThe listing title to set
post_idintThe ID of the product post in WordPress
listing\BigCommerce\Api\v3\Model\ListingThe listing from BigCommerce that will be updated

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 157

bigcommerce/channel/listing/description

Filter the description to set on the channel listing for the product

Arguments

ArgumentTypeDescription
titlestringThe listing description to set
post_idintThe ID of the product post in WordPress
listing\BigCommerce\Api\v3\Model\ListingThe listing from BigCommerce that will be updated

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 168

bigcommerce/channel/listing/should_delete

Source: src/BigCommerce/Post_Types/Product/Channel_Sync.php, line 199

bigcommerce/post_type/product/capabilities

Source: src/BigCommerce/Post_Types/Product/Config.php, line 31

bigcommerce/query/recent_days

Source: src/BigCommerce/Post_Types/Product/Query_Mapper.php, line 133

bigcommerce/shortcode/products/query_args

Filters shortcode products query arguments.

Arguments

ArgumentTypeDescription
query_argsarrayQuery Arguments.
argsarrayArguments.

Source: src/BigCommerce/Post_Types/Product/Query_Mapper.php, line 143

bigcommerce/product/price_range/data

Filter the price range data for a product

Arguments

ArgumentTypeDescription
pricesarrayThe price range meta for the product
product\BigCommerce\Post_Types\Product\ProductThe product object

Source: src/BigCommerce/Post_Types/Product/Product.php, line 237

Source: src/BigCommerce/Post_Types/Product/Product.php, line 273

bigcommerce/product/price_range/formatted

Filter the formatted price range for a product

Arguments

ArgumentTypeDescription
rangestringThe formatted price range
product\BigCommerce\Post_Types\Product\ProductThe product object
pricesarrayThe price range meta for the product

Source: src/BigCommerce/Post_Types/Product/Product.php, line 259

bigcommerce/product/calculated_price_range/formatted

Filter the formatted calculated price range for a product

Arguments

ArgumentTypeDescription
rangestringThe formatted price range
product\BigCommerce\Post_Types\Product\ProductThe product object
pricesarrayThe price range meta for the product

Source: src/BigCommerce/Post_Types/Product/Product.php, line 286

bigcommerce/produce/retail_price/data

Filter the retail price of the product

Arguments

ArgumentTypeDescription
retail_pricefloatThe retail price of the product
product\BigCommerce\Post_Types\Product\ProductThe product object

Source: src/BigCommerce/Post_Types/Product/Product.php, line 302

bigcommerce/product/retail_price/formatted

Filter the formatted retail price for a product

Arguments

ArgumentTypeDescription
retail_pricestringThe formatted retail price
product\BigCommerce\Post_Types\Product\ProductThe product object

Source: src/BigCommerce/Post_Types/Product/Product.php, line 310

bigcommerce/product/gallery

Filter the images that display in a product gallery

Arguments

ArgumentTypeDescription
galleryint[]The IDs of images in the gallery

Source: src/BigCommerce/Post_Types/Product/Product.php, line 629

bigcommerce/button/purchase

Filters purchase button.

Arguments

ArgumentTypeDescription
buttonstringButton html.
post_idintPost id.
labelstringLabel.

Source: src/BigCommerce/Post_Types/Product/Product.php, line 766

Source: src/BigCommerce/Post_Types/Product/Product.php, line 732

bigcommerce/button/purchase/attributes

Filters purchase button attributes.

Arguments

ArgumentTypeDescription
attributesarrayAttributes.
product\BigCommerce\Post_Types\Product\ProductProduct.

Source: src/BigCommerce/Post_Types/Product/Product.php, line 740

bigcommerce/product/related_products

This filter is documented in src/BigCommerce/Post_Types/Product/Product.php

Arguments

No arguments.

Source: src/BigCommerce/Post_Types/Product/Product.php, line 972

Source: src/BigCommerce/Post_Types/Product/Product.php, line 981

Source: src/BigCommerce/Post_Types/Product/Product.php, line 991

bigcommerce/query/search_post_ids

Filters query search post ids.

Arguments

ArgumentTypeDescription
matchesarrayPost ids.
search_phrasestringSearch phrase.

Source: src/BigCommerce/Post_Types/Product/Query.php, line 514

bigcommerce/admin/js_localization

Filters admin js localization data.

Allows modification of the JS localization data before it is returned.

Arguments

ArgumentTypeDescription
js_i18n_arrayarrayJs i18n data.

Source: src/BigCommerce/Assets/Admin/JS_Localization.php, line 63

bigcommerce/admin/js_config

Filters admin js config object.

Allows modification of the JS configuration data before it is returned.

Arguments

ArgumentTypeDescription
dataarrayJs config data.

Source: src/BigCommerce/Assets/Admin/JS_Config.php, line 69

bigcommerce/gutenberg/js_config

Filters gutenberg js config data.

Allows modification of the Gutenberg-specific JS configuration data.

Arguments

ArgumentTypeDescription
gutenbergarrayJs config data.

Source: src/BigCommerce/Assets/Admin/JS_Config.php, line 93

bigcommerce/assets/stylesheet

Filters assets stylesheet file.

Arguments

ArgumentTypeDescription
css_filestringCSS file name.

Source: src/BigCommerce/Assets/Theme/Styles.php, line 51

bigcommerce/js_localization

Filter the localization strings passed to front end scripts

Arguments

ArgumentTypeDescription
js_i18n_arrayarrayThe localization strings

Source: src/BigCommerce/Assets/Theme/JS_Localization.php, line 73

bigcommerce/js_config

Filters Theme Js config.

Arguments

ArgumentTypeDescription
dataarrayTheme Js config.

Source: src/BigCommerce/Assets/Theme/JS_Config.php, line 74

bigcommerce/channel/default_name

Filter the name given to the auto-created channel.

Defaults to the blog’s domain name.

Arguments

ArgumentTypeDescription
namestringThe default channel name

Source: src/BigCommerce/Taxonomies/Channel/Channel_Connector.php, line 55

bigcommerce/channels/enable-multi-channel

Filter whether multi-channel support is enabled.

Enabling this feature allows site owners to connect to multiple channels and switch between them based on arbitrary criteria.

Arguments

ArgumentTypeDescription
enabledboolWhether multi-channel is enabled. Defaults to false.

Source: src/BigCommerce/Taxonomies/Channel/Channel.php, line 25

bigcommerce/channels/map-products-to-all-channels

Filter whether multi-channel sync should sync to all channels.

Enabling this feature allows site owners to connect to sync products to all channels or only the channel it is assigned to.

Arguments

ArgumentTypeDescription
enabledbool

Source: src/BigCommerce/Taxonomies/Channel/Channel.php, line 44

bigcommerce/channel/routes

Filter the routes that will be set for the site

Arguments

ArgumentTypeDescription
routes\BigCommerce\Api\v3\Model\Route[]

Source: src/BigCommerce/Taxonomies/Channel/Routes.php, line 274

bigcommerce/channel/current

Filter the channel to use for the current request. This only fires if multi-channel support is enabled.

Arguments

ArgumentTypeDescription
channel\WP_TermThe WP term associated with the BigCommerce channel

Source: src/BigCommerce/Taxonomies/Channel/Connections.php, line 46

bigcommerce/taxonomy/{$this->taxonomy}/capabilities

Filter the default capabilities for taxonomy terms.

The dynamic portion of the hook is the name of the taxonomy.

Arguments

ArgumentTypeDescription
capsarrayThe capabilities array for the taxonomy

Source: src/BigCommerce/Taxonomies/Taxonomy_Config.php, line 90

bigcommerce/product_category/group_filter_terms_user_cache_time

Set the cache time for the list of term ids that a group-member user has access to.

Arguments

ArgumentTypeDescription
timeintThe length of time in seconds to cache the terms.

Source: src/BigCommerce/Taxonomies/Product_Category/Group_Filtered_Terms.php, line 138

bigcommerce/gift_certificates/do_subnav

Source: src/BigCommerce/Gift_Certificates/Sub_Nav.php, line 45

Filter the links that show in the account subnav.

Arguments

ArgumentTypeDescription
linksarray[]Each link will have the properties:
url - The URL of the link
label - The label of the link
current - Whether the link is to the current page

Source: src/BigCommerce/Gift_Certificates/Sub_Nav.php, line 78

bigcommerce/reviews/cache/per_page

Filter the number of product reviews to cache

Arguments

ArgumentTypeDescription
countintThe max number of reviews that will be cached
product_idintThe BigCommerce ID of the product;

Source: src/BigCommerce/Reviews/Review_Cache.php, line 36

bigcommerce/analytics/segment/settings

Filter the configuration object passed to Segment

Arguments

ArgumentTypeDescription
settingsarraySettings.

Source: src/BigCommerce/Analytics/Segment.php, line 79

Analytics::TRACK_BY_HOOK

Modifies the tracking data options for analytics.

This allows for customization of analytics tracking behavior.

Arguments

ArgumentTypeDescription
track_dataarrayTracking data options.

Source: src/BigCommerce/Analytics/Events/Add_To_Cart.php, line 57

Source: src/BigCommerce/Analytics/Events/Add_To_Cart.php, line 98

Source: src/BigCommerce/Analytics/Events/View_Product.php, line 57

Source: src/BigCommerce/Analytics/Events/View_Product.php, line 98

bigcommerce/amp/https_help_url

Filters the URL with information about updating the current site to HTTPS.

Arguments

ArgumentTypeDescription
stringURL.

Source: src/BigCommerce/Amp/Amp_Admin_Notices.php, line 98

bigcommerce/amp/amp_ssl_notice

Filters the AMP SSL notice text.

Arguments

ArgumentTypeDescription
string

Source: src/BigCommerce/Amp/Amp_Admin_Notices.php, line 109

bigcommerce/amp/admin_notices

Source: src/BigCommerce/Amp/Amp_Admin_Notices.php, line 143

bigcommerce/amp/kses_allowed_html

Filters AMP kses allowed html from BC.

Arguments

ArgumentTypeDescription
allowed_tagsarrayAllowed tags.

Source: src/BigCommerce/Amp/Overrides.php, line 141

bigcommerce/api/config

Filter the API connection configuration object

Arguments

ArgumentTypeDescription
config\BigCommerce\Api\Configuration

Source: src/BigCommerce/Container/Api.php, line 144

bigcommerce/webhooks

Filter the webhooks that the plugin will register with BigCommerce

Arguments

ArgumentTypeDescription
webhooks\BigCommerce\Webhooks\Webhook[]

Source: src/BigCommerce/Container/Webhooks.php, line 252

bigcommerce/settings/credentials_notice/excluded_screens

Filters settings credentials notice for excluded screens.

Arguments

ArgumentTypeDescription
excluded_screensarray

Source: src/BigCommerce/Container/Settings.php, line 493

bigcommerce/countries/data_file

Filters the path of the countries data file.

Arguments

ArgumentTypeDescription
filestringCountries data json file path

Source: src/BigCommerce/Container/Accounts.php, line 286

bigcommerce/logger/path

Filter the path to the debug logging file

Arguments

ArgumentTypeDescription
log_pathstringThe full file system path to the log file

Source: src/BigCommerce/Container/Log.php, line 63

bigcommerce/logger/custom_path

Filter the path to the debug logging file

Arguments

ArgumentTypeDescription
log_pathstringThe full file system path to the log file

Source: src/BigCommerce/Container/Log.php, line 74

bigcommerce/oauth_connector/url

Filters oauth connector url

Arguments

ArgumentTypeDescription
urlstringOauth connector URL.

Source: src/BigCommerce/Container/Merchant.php, line 90

bigcommerce/proxy/use_cache

Filters whether to use the proxy cache.

Arguments

ArgumentTypeDescription
boolDefault true.

Source: src/BigCommerce/Container/Proxy.php, line 138

bigcommerce/import/timeout

Filter the timeout for an import job. If a step in the import takes more than this amount of time, it will be considered stalled and a new job will take it over.

Arguments

ArgumentTypeDescription
timeoutintThe timeout in seconds

Source: src/BigCommerce/Container/Import.php, line 239

bigcommerce/import/task_list

Filter the tasks that will be registered for the product import

Arguments

ArgumentTypeDescription
list\BigCommerce\Import\Task_Definition[]The list of tasks to register

Source: src/BigCommerce/Container/Import.php, line 515

bigcommerce/rest/namespace_base

Filters REST namespace base.

Arguments

ArgumentTypeDescription
namespacestringNamespace.

Source: src/BigCommerce/Container/Rest.php, line 213

bigcommerce/rest/version

Filters REST version.

Arguments

ArgumentTypeDescription
versionintVersion.

Source: src/BigCommerce/Container/Rest.php, line 222

bigcommerce/rest/cart_base

Filters REST cart base.

Arguments

ArgumentTypeDescription
cartstringCart base.

Source: src/BigCommerce/Container/Rest.php, line 231

bigcommerce/rest/products_base

Filters REST products base.

Arguments

ArgumentTypeDescription
productsstringProducts base.

Source: src/BigCommerce/Container/Rest.php, line 244

Source: src/BigCommerce/Container/Rest.php, line 270

bigcommerce/rest/storefront_base

Filters REST products base.

Arguments

ArgumentTypeDescription
productsstringProducts base.

Source: src/BigCommerce/Container/Rest.php, line 257

bigcommerce/rest/shortcode_base

Filters REST shortcode base.

Arguments

ArgumentTypeDescription
shortcodestringShortcode base.

Source: src/BigCommerce/Container/Rest.php, line 281

bigcommerce/rest/orders_shortcode_base

Filters REST orders shortcode base.

Arguments

ArgumentTypeDescription
orders_shortcodestringOrders shortcode base.

Source: src/BigCommerce/Container/Rest.php, line 294

bigcommerce/rest/product_component_shortcode_base

Filters REST product component shortcode base.

Arguments

ArgumentTypeDescription
component_shortcodestringComponent shortcode base.

Source: src/BigCommerce/Container/Rest.php, line 307

bigcommerce/rest/review_list_base

Filters REST review list base.

Arguments

ArgumentTypeDescription
product_reviewsstringProduct reviews base.

Source: src/BigCommerce/Container/Rest.php, line 320

bigcommerce/rest/pricing_base

Filters REST pricing base.

Arguments

ArgumentTypeDescription
pricingstringPricing base.

Source: src/BigCommerce/Container/Rest.php, line 333

bigcommerce/rest/shipping_base

Filters REST shipping base.

Arguments

ArgumentTypeDescription
shippingstringShipping base.

Source: src/BigCommerce/Container/Rest.php, line 346

bigcommerce/rest/coupon_code

Filters REST coupon code base.

Arguments

ArgumentTypeDescription
coupon_codestringCoupon code base.

Source: src/BigCommerce/Container/Rest.php, line 359

bigcommerce/amp/templates/directory

Filter the name of the AMP template directory

Arguments

ArgumentTypeDescription
directorystringThe base name of the template directory

Source: src/BigCommerce/Container/Amp.php, line 108

bigcommerce/amp/templates/enable_override

Toggles whether AMP template overrides will be used to render plugin templates

Arguments

ArgumentTypeDescription
enableboolWhether AMP template overrides are enabled

Source: src/BigCommerce/Container/Amp.php, line 167

bigcommerce/api/default_headers

Filters API default headers.

Arguments

ArgumentTypeDescription
default_headersarrayAn array of default header(s).

Source: src/BigCommerce/Api/Configuration.php, line 24

bigcommerce/api/ttl

Source: src/BigCommerce/Api/Caching_Client.php, line 118

bigcommerce/checkout/config

Filter the config used to render the embedded checkout.

For more details, @see https://github.com/bigcommerce/checkout-sdk-js/blob/master/docs/interfaces/embeddedcheckoutoptions.md

Arguments

ArgumentTypeDescription
checkout_configarray

Source: src/BigCommerce/Shortcodes/Checkout.php, line 66

bigcommerce/products/reviews/per_page

Source: src/BigCommerce/Shortcodes/Product_Reviews.php, line 58

bigcommerce/product/reviews/rest_url

Filters product reviews REST url.

Arguments

ArgumentTypeDescription
base_urlstringURL.
post_idintPost id.

Source: src/BigCommerce/Shortcodes/Product_Reviews.php, line 91

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.2.0