Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[WooCommerce Bookings] Make calendar default to first available booking
/**
* 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' );
@californiakat

This comment has been minimized.

Copy link

@californiakat californiakat commented May 4, 2018

Correct spelling of 'calender' to 'calendar' in

Will make the Bookings calender default to the month with the first available booking.

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