関数
CartPage::loadImplementation( string $html )
カートページに表示されている一括処理のドロップダウンリスト
パラメータ パラメータ
- $html
(文字列) (必須)
ファイル: src/Views/CartPage/CartPage.php
protected function loadImplementation($html) {
wp_enqueue_script(
self::SCRIPT_HANDLE,
WCEXWL_PLUGIN_URL . '/src/Views/CartPage/cart.js',
[],
WCEXWL_VERSION,
true
);
wp_localize_script(self::SCRIPT_HANDLE, 'wcexwl', $this->master->getScriptInjectionVariables());
Snackbar::load([self::SCRIPT_HANDLE]);
$html = self::getBatchActionsHtml();
return $html;
}