AnalyticsDashboard
Contains backend logic for the dashboard feature.
Description Description
Source Source
File: packages/woocommerce-admin/src/Features/AnalyticsDashboard.php
Methods Methods
- __construct — Hook into WooCommerce.
- add_preload_endpoints — Preload data from API endpoints.
- add_user_data_fields — Adds fields so that we can store performance indicators, row settings, and chart type settings for users.
- get_instance — Get class instance.
- register_page — Registers dashboard page.
- update_link_structure — Update the WooCommerce menu structure to make our main dashboard/handler the top level link for 'WooCommerce'.