Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories

StoredUrl::is_enabled()publicWC 1.0

Indicates if this rule is enabled or not (rules can be temporarily disabled).

Method of the class: StoredUrl{}

No Hooks.

Return

true|false.

Usage

$StoredUrl = new StoredUrl();
$StoredUrl->is_enabled(): bool;

StoredUrl::is_enabled() code WC 7.1.0

public function is_enabled(): bool {
	return $this->enabled;
}