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