WC_Product_Download::get_enabled()
Get status of the download.
Метод класса: WC_Product_Download{}
Хуков нет.
Возвращает
true|false
.
Использование
$WC_Product_Download = new WC_Product_Download(); $WC_Product_Download->get_enabled(): bool;
Код WC_Product_Download::get_enabled() WC Product Download::get enabled WC 8.7.0
public function get_enabled(): bool { return $this->data['enabled']; }