関数
AmazonPay::init()
Initializes Amazon Pay. Should only be called if Welcart is activated
戻り値 戻り値
ファイル: src/AmazonPay.php
public function init() { (new DeliveryPage($this))->init(); // Do not load initial confirm page on redirects if (!isset($_REQUEST['amazonCheckoutSessionId'])) { (new Views\ConfirmPageLogin\Factory())->getInstance($this)->init()->addHooks(); } if (is_admin()) { (new Admin\SettlementSettings($this))->init(); (new Admin\OrderList($this))->init()->addHooks(); (new Admin\OrderEdit($this))->init()->addHooks(); } if ($this->ready() === true) { add_action('plugins_loaded', [$this, 'initCheckoutHooks']); add_action('init', [$this, 'initializeApp'], 16); } }