Support » Plugin: Easy Digital Downloads » need total sold downloads count

  • Resolved Behrooz Dante

    (@behroozdante)



    hi, i need to get total Sold download.

    below code getting all total number of customers, products, and file downloads, but i want getting ONLY total Sold file count.

    
    function edd_count_total_file_downloads() {
        global $edd_logs;
        return $edd_logs->get_log_count( null, 'file_download' );
    }
    

    for example, if i have 50 product and i just sold 10 product, it getting me 10.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.