Account_Settings
- Full name:
\BigCommerce\Settings\Sections\Account_Settings
- Parent class:
\BigCommerce\Settings\Sections\Settings_Section
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAME | public | ’accounts’ | |
SUPPORT_EMAIL | public | ’bigcommerce_support_email’ | |
REGISTRATION_SPAM_CHECK | public | ’bigcommerce_registration_spam_check’ | |
ALLOW_GLOBAL_LOGINS | public | ’bigcommerce_allow_global_logins’ |
Methods
__construct
public __construct(array $pages): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$pages | array |
register_settings_section
public register_settings_section(): void
render_registration_spam_check_field
public render_registration_spam_check_field(): mixed
render_allow_global_logins_field
public render_allow_global_logins_field(): mixed
maybe_sync_global_logins
public maybe_sync_global_logins(string $old_value, string $new_value): void
Parameters:
Parameter | Type | Description |
---|---|---|
$old_value | string | |
$new_value | string |
add_default_global_logins
public add_default_global_logins(): void
Inherited methods
render_field
public render_field(array $args): void
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
render_number_field
public render_number_field(array $args): void
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
get_disabled_attr_headless
Get disabled attribute if headless option is on
public get_disabled_attr_headless(): string
render_page_field
public render_page_field(mixed $args): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$args | mixed |
Automatically generated on 2025-01-21