Automattic\WooCommerce\Internal\OrderWithdrawal

OrderWithdrawalController::is_enabled │ public │ WC 11.1.0

Whether order withdrawal is enabled.

Method of the class: OrderWithdrawalController{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Changelog

Since 11.1.0 Introduced.

OrderWithdrawalController::is_enabled() code WC 11.1.2

public function is_enabled(): bool {
	return FeaturesUtil::feature_is_enabled( self::FEATURE_ID );
}