autoship_maybe_update_item_relative_next_occurrence_date

(src/products.php) found in the autoship_maybe_update_cart_item_relative_next_occurrence() function. This filter can be used to adjust the Relative Next Occurrence for a Scheduled cart item after a change has been made in the cart. It returns the date and passes the following parameters: 

  • $date
  • $product_id 
  • $next_occurrence 
  • $frequency 
  • $frequency_type