-
-
Save jessepearson/1db1b699c8bb2fc0207cbfd178d0d797 to your computer and use it in GitHub Desktop.
<?php // do not copy this line | |
/** | |
* 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' ); |
@jessepearson Thanks for the reply. Apologies for adding this here, for some reason I thought this thread was part of the plugin repo! I will get a ticket open with support. Cheers
I have the same problem here, after 2 years of usage. Very odd.
@tfrank77 Just to let you know I have contacted WooCommerce support and they have replicated the bug. Their developers have been notified and are working on a fix. They have recommended rolling back to the previous version until this is patched
Just to let you know I have contacted WooCommerce
Brilliant news, thank you @liammcluckie.
From woo: The filter was working on version 2.0.2 and stopped working when version 2.0.3 was released. Support sent me version 2.0.2 not sure if there is an official download source for old versions.
@fscriven You can reach out to Woo support for a copy of the older version. They have an issue open for the bug, the issue number is 3695.
Thanks guys for the info!
@liammcluckie I do no directly control the code for the Bookings plugin, if you are having an issue with it, I would recommend reaching out to support at WooCommerce.com.
For what it's worth, I did check Bookings and the filter still exists, so if it's not working support should be notified.