WC_Product_Variable::get_downloadable( string $context = 'view' )
Variable products themselves cannot be downloadable.
Description Description
Parameters Parameters
- $context
-
(Optional) What the value is for. Valid values are view and edit.
Default value: 'view'
Return Return
(bool)
Source Source
File: includes/class-wc-product-variable.php
public function get_downloadable( $context = 'view' ) { return false; }