Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jamonzito/230157519745953d759b73e1d07ffbab to your computer and use it in GitHub Desktop.
Save Jamonzito/230157519745953d759b73e1d07ffbab to your computer and use it in GitHub Desktop.
[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' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment