関数
CartPage::enqueueAssets()
カートページの表示に必要なアセットを読み込む
戻り値 戻り値
ファイル: src/Views/CartPage/CartPage.php
    public function enqueueAssets() {
        // styles
        wp_enqueue_style(
            'wcexaap-cartpage',
            /**
             * Filters the URL path to the CSS loaded on the cart page
             *
             * Use this to override the CSS loaded on the cart page
             *
             * @important
             * @param string $csspath
             */
            apply_filters(
                'wcexaap_filter_cart_page_css_path',
                WCEXAAP_PLUGIN_URL . '/src/Views/CartPage/style.css'
            ),
            /**
             * Filters the dependencies of the CSS loaded on the cart page
             *
             * @param array $deps
             */
            apply_filters('wcexaap_filter_cart_page_css_deps', []),
            WCEXAAP_VERSION
        );
        $params = $this->getCheckoutParams();
        (new Checkout($this->module))->load(
            $this->module->restRoutes->createQueryUrl($params['url']),
            'Cart',
            $params['productType']
        );
    }