EDD_Download::increase_sales( int $quantity = 1 )

Increment the sale count by one


Description Description


Parameters Parameters

$quantity

(Optional) The quantity to increase the sales by

Default value: 1


Top ↑

Return Return

(int) New number of total sales


Top ↑

Source Source

File: includes/class-edd-download.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.