WooCommerce: Add New Report Tab

add_filter('woocommerce_admin_reports','custom_tab');

function custom_tab($reports)
{
    $reports['custom_tab']= array(      
        'title'=>__('Custom Reports','woocommerce'),    
        'description'=> 'WooCommerce Orders Listing Here...',
        'hide_title'=> true,     
        'callback'=>array('wc_admin_orders_customers', 'display_orders_list_cusotomers')
    );
    return $reports;
}

Leave a Comment