New_Account_Section
- Full name:
\BigCommerce\Settings\Sections\New_Account_Section - Parent class:
\BigCommerce\Settings\Sections\Settings_Section
Constants
| Constant | Visibility | Type | Value |
|---|---|---|---|
NAME | public | ’bc_create_account’ | |
STORE_INFO | public | ’bigcommerce_new_store_info’ |
Methods
register_settings_section
public register_settings_section(): mixedrender_field
public render_field(array $args): voidParameters:
| Parameter | Type | Description |
|---|---|---|
$args | array |
render_state_field
public render_state_field(mixed $args): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$args | mixed |
render_country_field
public render_country_field(mixed $args): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$args | mixed |
get_countries_and_states
protected get_countries_and_states(mixed $current_country): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$current_country | mixed |
validate_request
public validate_request(array $submission, \WP_Error $errors): voidParameters:
| Parameter | Type | Description |
|---|---|---|
$submission | array | The data submitted to the form |
$errors | \WP_Error |
Inherited methods
render_field
public render_field(array $args): voidParameters:
| Parameter | Type | Description |
|---|---|---|
$args | array |
render_number_field
public render_number_field(array $args): voidParameters:
| Parameter | Type | Description |
|---|---|---|
$args | array |
get_disabled_attr_headless
Get disabled attribute if headless option is on
public get_disabled_attr_headless(): stringAutomatically generated on 2025-01-21