WooCommerce预订使用可选资源进入正确的月份

WooCommerce预订使用可选资源进入正确的月份,woocommerce,jquery-ui-datepicker,Woocommerce,Jquery Ui Datepicker,当使用可用性时,在日历日期选择器中很容易进入第一个可用性月份 /** * Will make the Bookings calender default to the month with the first available booking. */ add_filter( 'wc_bookings_calendar_default_to_current_date', '__return_false' ); 不幸的是,当使用可选资源时,该功能不起作用。有人能给我指点解决办法吗 这有点奇怪

当使用可用性时,在日历日期选择器中很容易进入第一个可用性月份

/**
 * Will make the Bookings calender default to the month with the first available booking.
 */
add_filter( 'wc_bookings_calendar_default_to_current_date', '__return_false' );
不幸的是,当使用可选资源时,该功能不起作用。有人能给我指点解决办法吗

这有点奇怪,当你的第一个可用预订是在12月,日历显示当前月份