Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jessepearson/1db1b699c8bb2fc0207cbfd178d0d797 to your computer and use it in GitHub Desktop.

Select an option

Save jessepearson/1db1b699c8bb2fc0207cbfd178d0d797 to your computer and use it in GitHub Desktop.
By default the current month will be shown on the WooCommerce Bookings calendar for performance reasons. This will default it to the month with the first available block.
<?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
Copy link
Author

@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.

@tfrank7
Copy link

tfrank7 commented Oct 31, 2023

Thanks guys for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment