Analytics
Contains backend logic for the Analytics feature.
Description Description
Source Source
File: packages/woocommerce-admin/src/Features/Analytics.php
Methods Methods
- __construct — Hook into WooCommerce.
- add_preload_endpoints — Preload data from the countries endpoint.
- add_user_data_fields — Adds fields so that we can store user preferences for the columns to display on a report.
- get_instance — Get class instance.
- get_report_pages — Get report pages.
- register_cache_clear_tool — Register the cache clearing tool on the WooCommerce > Status > Tools page.
- register_pages — Registers report pages.
- run_clear_cache_tool — "Clear" analytics cache by invalidating it.