Created
March 9, 2018 16:28
-
-
Save woogists/5c1d2f16493b657270270251ce48e038 to your computer and use it in GitHub Desktop.
[WooCommerce Bookings] Change date format when calendar picker is not used in front end
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome thanks for this. Worked great on latest woocommerce booking plugin, datepicker on the product page. Can't believe it's not an option.