Plugin Directory

Changeset 3374320


Ignore:
Timestamp:
10/07/2025 11:27:49 AM (6 months ago)
Author:
planetpaypayment
Message:

Update trunk to version 5.0.18

Location:
planet-pay-payment
Files:
225 added
1 edited

Legend:

Unmodified
Added
Removed
  • planet-pay-payment/tags/5.0.17/planet-pay-payment.php

    r3331319 r3374320  
    269269add_filter('user_has_cap', 'planetpay_disable_wc_refunds_for_planet_pay', 10, 3);
    270270
    271 if (!wp_next_scheduled('check_refund_status_updates')) {
    272     wp_schedule_event(time(), 'hourly', 'planetpay_check_refund_status_updates');
    273 }
     271if (!wp_next_scheduled('planetpay_check_refund_status_updates')) {
     272}
     273wp_clear_scheduled_hook('planetpay_check_refund_status_updates');
    274274
    275275function planetpay_get_connector_configuration()
     
    620620    }
    621621});
     622
     623register_deactivation_hook(__FILE__, function () {
     624    wp_clear_scheduled_hook('planetpay_check_refund_status_updates');
     625});
Note: See TracChangeset for help on using the changeset viewer.