Use WooCommerce's customer and session APIs correctly — WC ships its own session handler (WC_Session_Handler, single wp_woocommerce_sessions table for both guests and logged-in users) and its own customer object (WC_Customer via WC()->customer). Avoid $_SESSION, direct setcookie, and user_meta for guest/session state. Use WC()->session->set/get for ephemeral visitor data, WC()->customer->get_billing_* for active customer context including guests, and new WC_Customer($user_id) for one-off loads. WC()->session auto-inits only on frontend/admin-ajax; REST, cron, and WP-CLI must call wc_load_cart() explicitly, while Store API cart/checkout routes can use Cart-Token sessions. Use when storing per-visitor state, reading billing data, or debugging session loss across cache/REST/cron. Triggers on WC_Session, WC_Session_Handler, WC_Customer, WC()->session, WC()->customer, wp_woocommerce_sessions.
「EC と販売」の作業に使います。公開者の説明: Use WooCommerce's customer and session APIs correctly — WC ships its own session handler (WC_Session_Handler, single wp_woocommerce_sessions table for both gue…
リクエスト例
“ストアの商品説明を更新して。”
エージェント
Claude Code, Codex, OpenCode ほか 32 エージェント 向けのコマンドがあります。
信頼できますか?
GitHub スター 27 · MIT。インストール前にソースを確認してください。
利用状況
過去 30 日間、サイトとエージェントでの利用。
0件のマイリストに登録
0回表示
0回コマンドをコピー
0回サイトからダウンロード
0回アプリからインストール
0回エージェントが自分でインストール
0人のアクティブユーザー
実利用スコアには ANG アプリから 20 人以上のユーザーと 50 件以上のタスクが必要です。現在 0 人、0 件。それまでは強さのスコアを掲載データから推定します。