CoreMenu
CoreMenu class. Handles registering Core menu items.
Description Description
Source Source
File: packages/woocommerce-admin/src/Features/Navigation/CoreMenu.php
Methods Methods
- add_dashboard_menu_items — Add the dashboard items to the WP menu to create a quick-access flyout menu.
- get_categories — Get all menu categories.
- get_excluded_items — Get items excluded from WooCommerce menu migration.
- get_items — Get all menu items.
- get_legacy_report_items — Get legacy report items.
- get_setting_items — Add registered admin settings as menu items.
- get_tool_items — Get items for tools category.
- init — Init.
- instance — Get class instance.
- register_post_types — Register all core post types.