WC_Product::get_sold_individually PHP Method

get_sold_individually() public method

Return if should be sold individually.
Since: 2.7.0
public get_sold_individually ( string $context = 'view' ) : boolean
$context string
return boolean
    public function get_sold_individually($context = 'view')
    {
        return $this->get_prop('sold_individually', $context);
    }
WC_Product