Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[WooCommerce Bookings] Change date format when calendar picker is not used in front end
/**
* Will make it so that the date format when the calendar is not used is DD/MM/YYYY on a Bookable product.
*/
add_filter( 'woocommerce_bookings_mdy_format' , '__return_false' );
@Jamonzito
Copy link

Jamonzito commented Jul 13, 2018

Hi everybody this is only working for the start date but end date stay the same....

@Abiruth
Copy link

Abiruth commented May 13, 2021

Awesome thanks for this. Worked great on latest woocommerce booking plugin, datepicker on the product page. Can't believe it's not an option.

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