Automattic\WooCommerce\Blocks\Payments\Integrations
CashOnDelivery::initialize
Initializes the payment method type.
Method of the class: CashOnDelivery{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$CashOnDelivery = new CashOnDelivery(); $CashOnDelivery->initialize();
CashOnDelivery::initialize() CashOnDelivery::initialize code WC 9.9.5
public function initialize() { $this->settings = get_option( 'woocommerce_cod_settings', [] ); }