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..


Top ↑

Source Source

File: packages/woocommerce-admin/src/API/Reports/Controller.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.