WordPress at Your Fingertips
function is not described

WC_Product_Variable::get_downloadable() public WC 1.0

Variable products themselves cannot be downloadable.

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

No Hooks.

Return

true|false.

Usage

$WC_Product_Variable = new WC_Product_Variable();
$WC_Product_Variable->get_downloadable( $context );
$context(string)
What the value is for. Valid values are view and edit.
Default: 'view'

Code of WC_Product_Variable::get_downloadable() WC 5.8.0

public function get_downloadable( $context = 'view' ) {
	return false;
}