| 开发者 | changlee |
|---|---|
| 更新时间 | 2025年11月4日 17:30 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.8 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
If the guest uses an email that belongs to an existing WordPress user (customer/subscriber) that has Received COD = No, COD will be disabled.
readme.txt Contributors line to use WordPress.org username changlee.<style> and <script> from PHP into assets/css/codco-style.css and assets/js/codco-script.js.wp_enqueue_scripts with wp_register_style/script, and wp_localize_script for ajaxurl + nonce.codco_*) and renamed class to CODCO_Control to avoid collisions.check_ajax_referer( 'codco_email_nonce', 'security' ) in AJAX handler.wp_verify_nonce() inputs with sanitize_text_field( wp_unslash( ... ) ).esc_url, esc_js for dynamic values.ajax-loader.gif if missing.current_user_can)wp_enqueue_* methodscurrent_user_can)