apply_filters( 'woocommerce_admin_reports', array $endpoints )
Filter the list of allowed reports, so that data can be loaded from third party extensions in addition to WooCommerce core.
Description Description
Array items should be in format of array( ‘slug’ => ‘downloads/stats’, ‘description’ => ”, ‘url’ => ”, and ‘path’ => ‘/wc-ext/v1/…’.
Parameters Parameters
- $endpoints
-
The list of allowed reports..
Source Source
File: packages/woocommerce-admin/src/API/Reports/Controller.php