Here is a code snippet to copy to your functions.php inside your child theme if you want the average delivery time based on products preparation time you will specify + Average Deliver/Pickup time you specify under Settings on WooFood.

Note: Copy the second snippet only if you want to calculate only the longest preparation time of a meal instead of the sum of all product preparation times

add_filter("woofood_delivery_time_based_on_preparation_time", "wpslash_hook_change_to_preparation_time_filter");
function wpslash_hook_change_to_preparation_time_filter($default)
{
	return true;
}
add_filter("woofood_delivery_time_longest_prepation_time", "wpslash_hook_change_to_longest_preparation_filter");
function wpslash_hook_change_to_longest_preparation_filter($default)
{
	return true;
}