WC_Product_Download::get_enabled()publicWC 1.0

Get status of the download.

Method of the class: WC_Product_Download{}

No Hooks.

Return

true|false.

Usage

$WC_Product_Download = new WC_Product_Download();
$WC_Product_Download->get_enabled(): bool;

WC_Product_Download::get_enabled() code WC 8.7.0

public function get_enabled(): bool {
	return $this->data['enabled'];
}