WordPress at Your Fingertips
function is not described

WC_Product::is_downloadable() public WC 1.0

Checks if a product is downloadable.

{} 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_downloadable();

Code of WC_Product::is_downloadable() WC 5.8.0

public function is_downloadable() {
	return apply_filters( 'woocommerce_is_downloadable', true === $this->get_downloadable(), $this );
}