WC_Product::set_total_sales PHP 메소드

set_total_sales() 공개 메소드

Set number total of sales.
부터: 2.7.0
public set_total_sales ( integer $total )
$total integer Total of sales.
    public function set_total_sales($total)
    {
        $this->set_prop('total_sales', absint($total));
    }
WC_Product