Nav_Menu_Options
- Full name:
\BigCommerce\Settings\Sections\Nav_Menu_Options
- Parent class:
\BigCommerce\Settings\Sections\Settings_Section
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAME | public | ’nav_menu’ | |
MENU_SELECT | public | ’bigcommerce_select_nav_menu’ | |
MENU_NAME | public | ’bigcommerce_nav_menu_name’ | |
ITEMS_SELECT | public | ’bigcommerce_select_menu_items’ |
Methods
register_settings_section
public register_settings_section(): mixed
menu_select
Render the nav menu select box
public menu_select(mixed $args): void
Parameters:
Parameter | Type | Description |
---|---|---|
$args | mixed |
items_select
Render the checkboxes for the menu item choices
public items_select(array $args): void
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
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
Automatically generated on 2025-01-21