WordPress at Your Fingertips
function is not described

WC_Product::is_sold_individually() public WC 1.0

Check if a product is sold individually (no quantities).

{} It's a method of the class: WC_Product{}

Hooks from the method
Return

true|false.

Usage

$WC_Product = new WC_Product();
$WC_Product->is_sold_individually();

Code of WC_Product::is_sold_individually() WC 5.5.2

<?php
public function is_sold_individually() {
	return apply_filters( 'woocommerce_is_sold_individually', true === $this->get_sold_individually(), $this );
}