Title: COD Control
Author: Kyriakos
Published: <strong>2025年11月4日</strong>
Last modified: 2025年11月4日

---

プラグインを検索

![](https://s.w.org/plugins/geopattern-icon/cod-control.svg)

# COD Control

 作者: [Kyriakos](https://profiles.wordpress.org/changlee/)

[ダウンロード](https://downloads.wordpress.org/plugin/cod-control.1.0.4.zip)

 * [詳細](https://ja.wordpress.org/plugins/cod-control/#description)
 * [レビュー](https://ja.wordpress.org/plugins/cod-control/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/cod-control/#installation)
 * [開発](https://ja.wordpress.org/plugins/cod-control/#developers)

 [サポート](https://wordpress.org/support/plugin/cod-control/)

## 説明

 * Admin menu: **COD Customers** with columns Name, Email, City, Received COD (Yes/
   No).
 * If **Received COD = No**, the **cod** gateway is removed at checkout for that
   customer.
 * Applies when users are logged in OR when they simply enter their email address
   on the checkout form.
 * Lightweight, no database tables required (uses user meta).

## インストール

 1. Upload the ZIP via **Plugins  Add New  Upload Plugin**.
 2. Activate **COD Control**.
 3. Go to **COD Control** in the admin menu to manage flags.

## FAQ

### Does this work for guests?

If the guest uses an email that belongs to an existing WordPress user (customer/
subscriber) that has **Received COD = No**, COD will be disabled.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

COD Control はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献し
ています。

貢献者

 *   [ Kyriakos ](https://profiles.wordpress.org/changlee/)

[“COD Control” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/cod-control)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/cod-control/)するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/cod-control/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/cod-control/)
を [RSS](https://plugins.trac.wordpress.org/log/cod-control/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0.0

 * First release.

#### 1.0.1

 * wordpress.org changes recommended.
 * Fixed `readme.txt` Contributors line to use WordPress.org username `changlee`.
 * Moved inline `<style>` and `<script>` from PHP into `assets/css/codco-style.css`
   and `assets/js/codco-script.js`.
 * Added proper asset loading via `wp_enqueue_scripts` with `wp_register_style/script`,
   and `wp_localize_script` for `ajaxurl` + `nonce`.
 * Prefixed actions and methods (`codco_*`) and renamed class to `CODCO_Control`
   to avoid collisions.
 * Added nonce checks with `check_ajax_referer( 'codco_email_nonce', 'security' )`
   in AJAX handler.
 * Hardened `wp_verify_nonce()` inputs with `sanitize_text_field( wp_unslash( ...))`.
 * Escaped output late using `esc_url`, `esc_js` for dynamic values.
 * Added placeholder `ajax-loader.gif` if missing.

#### 1.0.2

 * wordpress.org changes recommended.
 * Fixed security issues with nonces and sanitization
 * Added proper permission checks (`current_user_can`)
 * Replaced inline CSS/JS with proper `wp_enqueue_*` methods
 * Updated version numbers for release

#### 1.0.3

 * wordpress.org changes recommended.
 * Fixed security issues with nonces and sanitization
 * Added proper permission checks (`current_user_can`)

#### 1.0.4

 * wordpress.org changes recommended.
 * plugin prefix gets Updated

## メタ

 *  バージョン **1.0.4**
 *  最終更新日 **8か月前**
 *  有効インストール数 **10未満**
 *  WordPress バージョン ** 6.0またはそれ以降 **
 *  検証済み最新バージョン: **6.8.5**
 *  PHP バージョン ** 7.4またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/cod-control/)
 * タグ
 * [checkout](https://ja.wordpress.org/plugins/tags/checkout/)[cod](https://ja.wordpress.org/plugins/tags/cod/)
   [customers](https://ja.wordpress.org/plugins/tags/customers/)[payment](https://ja.wordpress.org/plugins/tags/payment/)
   [woocommerce](https://ja.wordpress.org/plugins/tags/woocommerce/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/cod-control/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/cod-control/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/cod-control/reviews/)

## 貢献者

 *   [ Kyriakos ](https://profiles.wordpress.org/changlee/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/cod-control/)