ClassesBigCommerceSettingsSectionsNew Account Section

New_Account_Section

Constants

ConstantVisibilityTypeValue
NAMEpublic’bc_create_account’
STORE_INFOpublic’bigcommerce_new_store_info’

Methods

register_settings_section

public register_settings_section(): mixed

render_field

public render_field(array $args): void

Parameters:

ParameterTypeDescription
$argsarray

render_state_field

public render_state_field(mixed $args): mixed

Parameters:

ParameterTypeDescription
$argsmixed

render_country_field

public render_country_field(mixed $args): mixed

Parameters:

ParameterTypeDescription
$argsmixed

get_countries_and_states

protected get_countries_and_states(mixed $current_country): mixed

Parameters:

ParameterTypeDescription
$current_countrymixed

validate_request

public validate_request(array $submission, \WP_Error $errors): void

Parameters:

ParameterTypeDescription
$submissionarrayThe data submitted to the form
$errors\WP_Error

Inherited methods

render_field

public render_field(array $args): void

Parameters:

ParameterTypeDescription
$argsarray

render_number_field

public render_number_field(array $args): void

Parameters:

ParameterTypeDescription
$argsarray

get_disabled_attr_headless

Get disabled attribute if headless option is on

public get_disabled_attr_headless(): string


Automatically generated on 2025-01-21