Açıklama
- 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).
Yükleme
- Upload the ZIP via Plugins Add New Upload Plugin.
- Activate COD Control.
- Go to COD Control in the admin menu to manage flags.
SSS
-
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.
İncelemeler
Bu eklenti için herhangi bir değerlendirme bulunmuyor.
Katkıda Bulunanlar ve Geliştiriciler
“COD Control” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.
Katkıda bulunanlar“COD Control” eklentisini dilinize çevirin.
Geliştirmeyle ilgilenir misiniz?
Kodu görüntüleyin, SVN deposuna göz atın ya da RSS ile geliştirme günlüğüne abone olun.
Değişiklik Kaydı
1.0.0
- First release.
1.0.1
- wordpress.org changes recommended.
- Fixed
readme.txtContributors line to use WordPress.org usernamechanglee. - Moved inline
<style>and<script>from PHP intoassets/css/codco-style.cssandassets/js/codco-script.js. - Added proper asset loading via
wp_enqueue_scriptswithwp_register_style/script, andwp_localize_scriptforajaxurl+nonce. - Prefixed actions and methods (
codco_*) and renamed class toCODCO_Controlto avoid collisions. - Added nonce checks with
check_ajax_referer( 'codco_email_nonce', 'security' )in AJAX handler. - Hardened
wp_verify_nonce()inputs withsanitize_text_field( wp_unslash( ... ) ). - Escaped output late using
esc_url,esc_jsfor dynamic values. - Added placeholder
ajax-loader.gifif 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