Last active
May 18, 2017 08:36
-
-
Save rynaldos-zz/7f8b60cef9622d23195745873dac54c9 to your computer and use it in GitHub Desktop.
[WooCommerce] Change datepicker to show Su - Sa
This file contains hidden or 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
add_filter( 'wp_footer' , 'rs_change_datepicker_cal', 99 ); | |
function rs_change_datepicker_cal() { | |
?> | |
<script> | |
jQuery(function($){ | |
$.datepicker.regional['en-US'] = { | |
firstDay: 0 | |
}; | |
$.datepicker.setDefaults($.datepicker.regional['en-US']); | |
}); | |
</script> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment