20 lines
370 B
JavaScript
20 lines
370 B
JavaScript
/**
|
|
* External dependencies
|
|
*/
|
|
import { applyFilters } from '@wordpress/hooks';
|
|
|
|
export const DEFAULT_STATS = applyFilters(
|
|
'woocommerce_admin_homepage_default_stats',
|
|
[
|
|
'revenue/total_sales',
|
|
'revenue/net_revenue',
|
|
'orders/orders_count',
|
|
'products/items_sold',
|
|
]
|
|
);
|
|
|
|
export const DEFAULT_HIDDEN_STATS = [
|
|
'revenue/net_revenue',
|
|
'products/items_sold',
|
|
];
|