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_methods()
Return enable_for_methods option.
Description Description
Return Return
(array) Array of shipping methods (string ids) that allow COD. (If empty, all support COD.)
Source Source
File: packages/woocommerce-blocks/src/Payments/Integrations/CashOnDelivery.php