WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Payments\Integrations

CashOnDelivery::initialize() public WC 1.0

Initializes the payment method type.

{} It's a method of the class: CashOnDelivery{}

No Hooks.

Return

null. Nothing.

Usage

$CashOnDelivery = new CashOnDelivery();
$CashOnDelivery->initialize();

Code of CashOnDelivery::initialize() WC 5.6.0

public function initialize() {
	$this->settings = get_option( 'woocommerce_cod_settings', [] );
}