Automattic\WooCommerce\Blocks\Payments\Integrations

CashOnDelivery::initialize()publicWC 1.0

Initializes the payment method type.

Метод класса: CashOnDelivery{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код CashOnDelivery::initialize() WC 9.1.2

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