関数
CartPage::cartBatchDropdown( string $html )
カートページで表示されている一括処理のドロップダウンリスト。
パラメータ パラメータ
- $html
(文字列) (必須)
ファイル: src/Views/CartPage/CartPage.php
public function cartBatchDropdown($html) {
/**
* Return `false` with this hook to prevent cart page CSS from being loaded
*
* @important
* @param bool $flag Default: `true`
*/
if (apply_filters('wcexwl_filter_cart_page_load_css', true)) {
// load semantic-ui and common css
Utils::loadCommonCss();
Semantic::loadLoaderCss();
// load css for page
wp_enqueue_style(
'wcexwl-cart-page',
WCEXWL_PLUGIN_URL . '/src/Styles/cart.css',
[],
WCEXWL_VERSION
);
}
// load JS client SDK
$this->master->loadClientSdk();
/**
* Fires after all cart page common/default JS/CSS has been enqueued
*
* Use this hook to enqueue your own JS/CSS on the cart page if necessary.
*
* @important
*/
do_action('wcexwl_cart_page_on_load_assets');
return $this->loadImplementation($html);
}