WC_Report_Sales_By_Category::get_chart_widgets()
Get chart widgets.
Method of the class: WC_Report_Sales_By_Category{}
No Hooks.
Return
Array
.
Usage
$WC_Report_Sales_By_Category = new WC_Report_Sales_By_Category(); $WC_Report_Sales_By_Category->get_chart_widgets();
WC_Report_Sales_By_Category::get_chart_widgets() WC Report Sales By Category::get chart widgets code WC 9.6.1
public function get_chart_widgets() { return array( array( 'title' => __( 'Categories', 'woocommerce' ), 'callback' => array( $this, 'category_widget' ), ), ); }