autoship_calculate_relative_next_occurrence_date_from_basedate
(src/products.php) found in the autoship_get_product_default_relative_next_occurrence() function. This filter can be used to adjust the base date used from which the Relative Next Occurrence is calculated for Scheduled Items added to or updated in the cart. It returns the current date, and takes the following parameters:
- current date ( new DateTime() )
- $next_occurrence
- $next_occurrence_type
- $product_id
- $frequency_type
- $frequency