関数
ConfirmPageLogin::onFeesSet()
Enqueues necessary assets for this View
戻り値 戻り値
ファイル: src/Views/ConfirmPageLogin/ConfirmPageLogin.php
public function onFeesSet() { wp_enqueue_style( 'checkout_review', WCEXAAP_PLUGIN_URL . '/src/Views/ConfirmPageLogin/ConfirmPageLogin.css', [], WCEXAAP_VERSION ); $theme = AmazonPay::getThemeConfig()['name']; if (file_exists(__DIR__ . '/ConfirmPage.' . $theme . '.css')) { wp_enqueue_style( 'wcexaap-confirmpage-' . $theme, WCEXAAP_PLUGIN_URL . '/src/Views/ConfirmPage/ConfirmPage.' . $theme . '.css', [], WCEXAAP_VERSION ); } $params = $this->getCheckoutParams(); (new Checkout($this->module))->load( $this->module->restRoutes->createQueryUrl($params['url']), 'Cart', $params['productType'] ); }