Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
CashOnDelivery::get_enable_for_virtual()
Return enable_for_virtual option.
Description Description
Return Return
(boolean) True if store allows COD payment for orders containing only virtual products.
Source Source
File: packages/woocommerce-blocks/src/Payments/Integrations/CashOnDelivery.php