Class WC_Report_Sales_By_Category
WC_Report_Sales_By_Category
- WC_Admin_Report
- WC_Report_Sales_By_Category
Package: WooCommerce\Admin\Reports
Category: Admin
Author: WooThemes
Version: 2.1.0
Located at includes/admin/reports/class-wc-report-sales-by-category.php
Category: Admin
Author: WooThemes
Version: 2.1.0
Located at includes/admin/reports/class-wc-report-sales-by-category.php
Methods summary
public
|
|
public
array
|
#
get_products_in_category( integer $category_id )
Get all product ids in a category (and its children) |
public
array
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
string
|
Methods inherited from WC_Admin_Report
calculate_current_range()
,
get_order_report_data()
,
prepare_chart_data()
,
sales_sparkline()
Magic methods summary
Properties summary
public
array
|
$chart_colours | |
public
array
|
$show_categories |
Properties inherited from WC_Admin_Report
$barwidth
,
$chart_groupby
,
$chart_interval
,
$end_date
,
$group_by_query
,
$start_date