Automattic\WooCommerce\Internal\OrderWithdrawal
OrderWithdrawalController::is_enabled
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() OrderWithdrawalController::is enabled code WC 11.2.1
public function is_enabled(): bool {
return FeaturesUtil::feature_is_enabled( self::FEATURE_ID );
}