autoship_lock_duration_restriction_notification

(src > schedule-orders.php) Can be used to change the notification displayed to users for Scheduled Orders that are within the Lock period.

Example

// change Schedule Order lock message 
  function xx_new_lock_message ($message){
      return $message = '<strong>Order is locked! Cannot make changes any longer except to payment method</strong>';
  }
  add_filter('autoship_lock_duration_restriction_notification', 'xx_new_lock_message', 10, 1);

Still need help? Contact Us Contact Us