Changeset 3269372
- Timestamp:
- 04/09/2025 07:06:10 AM (12 months ago)
- File:
-
- 1 edited
-
mustangpay/trunk/mustangpay.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mustangpay/trunk/mustangpay.php
r3258184 r3269372 28 28 remove_action('admin_init', 'check_admin_referer'); 29 29 30 // 添加卸载钩子 31 register_uninstall_hook( __FILE__, 'mustangpay_uninstall' ); 32 33 function mustangpay_uninstall() { 34 // 删除所有相关的选项 35 delete_option( 'woocommerce_mustangpay_settings' ); 36 delete_option( 'woocommerce_mustangpay_enabled' ); 37 delete_option( 'woocommerce_mustangpay_title' ); 38 delete_option( 'woocommerce_mustangpay_description' ); 39 delete_option( 'woocommerce_mustangpay_mode' ); 40 delete_option( 'woocommerce_mustangpay_merchant_id_test' ); 41 delete_option( 'woocommerce_mustangpay_rsaPrivateKey_test' ); 42 delete_option( 'woocommerce_mustangpay_merchant_id' ); 43 delete_option( 'woocommerce_mustangpay_rsaPrivateKey' ); 44 } 30 45 31 46 function mustangpay_custom_refund_button($order) {
Note: See TracChangeset
for help on using the changeset viewer.